Workers in Bangkok were scrambling to clear rubble and rescue any survivors from a powerful earthquake that hit Thailand and neighbouring Myanmar on Friday.