What about home "power bank" type units?
eg. As with the Tesla Powerwall type system.
Those take some of the excess & you can then use that stored energy when there insufficient sun or to charge an electric vehicle quickly without pulling so much power from the grid.
There are also regional systems. Some hydroelectric plants work "in reverse" during low demand times, storing power by pumping water back up to the power plant reservoir.
Or more extreme, city-scale battery storage like the system in Texas, with a capacity of something like 60 megawatt-hours, if I remember correctly.
There are a number of possibilities, it's down to the power companies and consumers adapting as technology changes.