Firefighters have extinguished a chemical fire at a university lab in Hualien in eastern Taiwan that may have been caused by Wednesday morning's magnitude 7.2 earthquake.