That is a very long time into the future, with a very high uncertainty.
So to add 100% to the currently installed electricity generation capacity in Germany, the German government would have to spend less than 5% of its current annual budget each year for 30 years. Let's say 6%, if you add some money to switch out network components to deal with greater variability in network loads.
That seems very achievable, especially because of course most of this money will come from private investments, not the state. If required, industrialized economies could of course spend the required sums to build out their installed capacities by a factor of 2,3 or 5. That would reduce the need for base load capable producers drastically, as well as the need for grid-scale storage.