At least three people were killed and dozens trapped when a skyscraper under-construction collapsed after a powerful earthquake rattled Myanmar and neighbouring Thailand.