So, we build storage and transmission. Storage cost is falling even faster than generation, and there are zero physics problems to be solved, just practical civil engineering.
The cost of this much civil engineering will be very large, but much smaller than e.g. for that much nukes, and we will pay it, because the only other choice is global collapse when the degraded biosphere becomes unable to sustain our population.