The energy outlook is brightening, thanks to new technologies ranging from solar and sustainable fuels like green hydrogen, to geothermal and maybe, finally, fusion.