Capitalism and its disastrous insistence on growth rely heavily on reliable supplies of highly energy-dense fuels to exist. Base load generation with renewables is difficult by their very nature. Storage technology would have to make quantum leaps and even then there are built in problems.
No, capitalism and its ugly cousin globalization will either be replaced with something local and sustainable or you can forget about humanity as a going concern. The ravages of climate change will force our hand. Humans are too naturally greedy to do it by choice.
I look forward to it.