A 6.8-magnitude earthquake hit Taiwan with at least 17 people injured in the worst-affected Hualien County.