A magnitude 7.7 earthquake struck Myanmar with aftershocks felt in Thailand and China, causing widespread devastation.