Two violent earthquakes rocked Thailand and Myanmar, prompting evacuations of buildings. A skyscraper being built in Bangkok collapsed.