Modular home manufacturing has been around for many decades. It certainly has a role to play, but if it were that much better it would have put the traditional contractors out of work long ago.
The main problem is transportation. You can make every box the size of a standard shipping container, and thus greatly reduce your home design options and size of rooms while still spending plenty on shipping. Or you can make bigger boxes, which gives you more design flexibility but still a lot less than stick building does. And with the bigger boxes you need special highway permits, escort vehicles, etc.
And then, when you have everything on site, there's still a lot to be done. Tree clearing, grading, excavation, concrete work, paving, utility lines, on-site assembly of the boxes (using an expensive crane)...
When you've added it all up, modular isn't the obvious improvement that it seems to be at first glance.
I suspect that transportation is not the issue, because any way you slice it, building materials come with large footprints. The footprint can be in the factory or on site, but you need big trucks moving stuff around in all cases, and every day the site has a crew on it is a day that generates vehicular traffic. Since the total time for the build goes down in modular, it can be surmised that less public space-over-time is used, even if more bandwidth is used at certain points.
As grandparent says, modular's biggest selling point is in quality control, which improves project risk profile. Factory assembly lends itself to systematic controls; one of the most common headlines in construction failures is "contractor used wrong parts or materials". That can quickly spiral into massive cost overruns when we're talking about something they assembled on site and realized they screwed up only after it's buried in the ground. If the whole subassembly arrives on site pre-checked, there's less that can go wrong. And "subassembly" is the way to think about it, not "box". It's certainly possible to devise a clever modular structure that ships packed but encapsulates more of the desired features with less sawing, nailing and bolting. Boxy shape language is not unique to modular, it appears all throughout industrial goods.
I have had some professional experience with pre-fabricated houses (typically multi-flat buildings) in the '90's, and of course it may well depend on the country, on local codes and availability and cost of site workers, but the overall lesson we learned at the time after n designing and manufacturing tests was that the only real difference was construction times (at the same level of quality), an old related post of mine:
The main problem is transportation. You can make every box the size of a standard shipping container, and thus greatly reduce your home design options and size of rooms while still spending plenty on shipping. Or you can make bigger boxes, which gives you more design flexibility but still a lot less than stick building does. And with the bigger boxes you need special highway permits, escort vehicles, etc.
And then, when you have everything on site, there's still a lot to be done. Tree clearing, grading, excavation, concrete work, paving, utility lines, on-site assembly of the boxes (using an expensive crane)...
When you've added it all up, modular isn't the obvious improvement that it seems to be at first glance.