Well, once robotics takes over a large portion of Foxconn, it won't make as much sense to hire low wage employees overseas, thus why not have the robots building/assembling the products as close to the consumer as possible?
Apple spends a lot of shipping too, so I'm sure it's a balancing act between cost of labor/automation/shipping.