Emergency crews are racing to rescue hundreds of people still trapped in damaged buildings as Taiwan recovers from its strongest earthquake in 25 years.