Labor is always a big driver of cost, because you need to plan, build, maintain and operate those factories with humans even if fully automated, and a lot of the indirect costs is going to scale with the price of labor, too (local legal representation, transport/logistics, ...)