Spain and Portugal just experienced a power outage that also took down internet access as well as water. What can we learn from it?