Those fire codes were created a century ago for the laudable purpose of preventing death from avoidable house fires. These days, now-outdated fire codes are just another of the many impediments slowing the creation and adoption of prefabricated homes built in a factory by robots.
We need a way of sunsetting rules that no longer make sense when technology makes radical change possible. We also need to remember that competitive companies don't succeed long-term (i.e., in timespans of decades) by producing things that intentionally kill their customers. (Ford hasn't done too well in the decades after the Pinto!)