When I was living in a dorm, everyone would be instructed to unplug everything when leaving for winter break. The reason is that power is shut off to the dorms. When they flip the power back on, there's a surge of electricity running back into the building, which would possibly damage electronics.
It's not really to protect the electronics - but to protect the building's wiring.
When many types of electronic devices are plugged in, they take a huge surge of power as they charge up their energy reservoir capacitors. It is the energy stored in these that allows PCs to withstand a short (e.g. 1/5 second interruption of power). Normally, plugging one or 2 devices in simultaneously isn't a problem - they may take a brief surge of 80 A each - for a total surge of 160 A - which will be ignored by most circuit breakers and fuses.
However, when you have a whole load of electronics - e.g. 50 computers in a lab - then things can quickly get out of hand.
At high school we had a computer lab with about 50 computers in it. I happened to see the electrical panel - and the lab computers had their own panel, separate to everything else in the building - with about 1 breaker for every 4 computers. Anyway, one afternoon I was supervising the lab, and things started getting out of hand - everyone decided to have a massive LAN gaming fest when I was trying to lock up. So I went to the panel and flipped the main switch. The room was plunged into silence, and everyone left.
Then, just before I went to leave and lock-up, I turned the main switch back on. There was a brief buzzing noise from the comps in the lab - and a snap and flash, as several breakers in the panel tripped off - and then the whole room and neigboring corridor was plunged into darkness.
I turned all the breakers back on, but nada.
While the electricians putting in the panel, had thought about the power surges and put only about 4 comps on each breaker - so that the breakers wouldn't trip (a few still did) - the hadn't thought about the effects of switching on the entire lab in one go. The surge was so huge that it blew out the main fuse for the entire wing of the building. Boy, was I in trouble for that.