China’s smart factories are revolutionising construction, using robotics and modular technology to build homes and other structures faster, more precisely and at lower cost.