Electricity is being restored in Cuba after a grid collapse cut power to more than 10 million people as Hurricane Oscar heads toward the island country's coast.