I don't know nearly enough about electrical engineering to consider what precautions must be taken when there is too much power flowing through the grid. I've seen enough fried motherboards that I can take a wild guess, but those were edge cases.
I'd think that in the event of a day being especially clear, cold, and sunny, there'd be a ground-fault circuit that would take the surge instead of the house.