Before the government became our collective nanny, insurance companies were primary defenders of our health and safety.
A house built to low standards, for example, would either be uninsurable or face premium surcharges. One might still build the shoddy house, but in case of fire, the loss would fall totally on the owner. And that owner would have to finance construction out-of-pocket, as no lender would make a loan against an uninsurable building.