The earthquake triggered a tsunami threat leaving more than 2 million households without electricity, officials said.