Millions were left without electricity as Cuba's aging power grid collapsed under the weight of fuel shortages, deteriorating infrastructure and US sanctions.