A powerful earthquake in Burma and Thailand has caused widespread destruction and initiated urgent rescue efforts.