A magnitude 6.4 earthquake struck near the coastal city of Hualien in Taiwan late on Tuesday, the U.S. Geological Survey (USGS) said, causing buildings including a hotel to collapse and forcing the closure of a nearby highway.