Global energy investment hit $2.4 trillion in 2024, but bottlenecks in the grid, transmission, and permitting threaten the renewable energy transition.