They either sell the solar back to the power company during the day and use the money to pay for the electricity they need at night, or have a sufficient amount of battery storage to collect the solar power by day and charge their cars at night.
I’m an old dog and don’t want to learn new tricks :) All that improvisation is for the youngsters.