A widespread power outage hit Spain and Portugal, which have a combined population of over 50 million people.