Vanuatu has been rocked by a 7.4 magnitude earthquake, triggering landslides and damaging buildings — including one that houses the New Zealand, Britain, France and the US embassies.