About 10 million people have been left without electricity after a major Cuban power plant failed.