Dozens of fire and rescue personnel were racing to extinguish the blaze that tore through the factory in Jinjiang city, authorities said