Demands from clients and labor shortages are forcing some contractors into other methods of creating building assemblies, driving new investments in prefabrication and modular construction techniques.