A powerful earthquake originating in Myanmar caused tremors in Bangkok, resulting in building collapses and widespread panic.