The IoT security crisis is playing out on a macro scale too, putting critical infrastructure at risk.