NextEra, which generates more wind and solar energy than any other company in the world, said it is benefiting from a clean energy investment push that has received major public policy support in recent months and given it a buffer against natural gas price swings.