The investment entails $8 trillion for developing new renewable energy sources and another $4 trillion for enhancing grid and storage infrastructure.