Renewable energy projects outpaced fossil fuels on cost in 2024, but grid and financing hurdles threaten momentum.