The recent outage in Spain and Portugal shows we must modernise how we transport power, supported by AI and automation