Manufacturing jobs are increasingly being taken over by robots as automating factories and production lines turns out to be more cost-effective for companies. Foxconn, a China-based manufacturer that has long produced iPhones for Apple , has laid out a three-phase plan in which it’s going to replace almost all of its human workers with robots.