Actually you can. Modern radiation hardened IC and new design technique help defeat a EMP.
One must remember 50,000 volts will be at ground zero but energy drastically reduce as you go away from ground zero. Energy decreases in a way that is inversely proportional to the square of the distance...