If it was suddenly 2050 and none of our technology had improved, we’d be fucked. But it’s not a useful perspective to assume that technological progression will stop. Solar panels have dropped in price by literal orders of magnitude. It seems like nuclear is coming back into vogue. Space-based power seems like it might be economically viable in a few decades, even.