After a factory in Dongguan, China, replaced most of its workers with robots, it witnessed a spectacular rise in productivity.