Powerful earthquakes hit Myanmar and Thailand, trapping dozens of workers in a collapsed under-construction skyscraper in Bangkok.