A building teetered on Wednesday after its first floor collapsed in an earthquake in Hualien, in Taiwan’s east.