Electromagnetic pulses (EMP) can destroy semiconductors (i.e., computer chips, transistors, radios, cell phones, hard drives, etc.).  EMP can arrive naturally from the Sun or by a nuclear weapon.  If the EMP arrives from the sun, there may be a warning to quickly protect some electronic equipment.

Here is one persons solution.