Hundreds of thousands of people in darkness, hospitals in chaos, a banking system under siege – a cyberattack on the US electricity grid could have catastrophic consequences.