A Spanish company is joining the growing trend of component suppliers opening factories in China.