There are regulations, and regulations. Those regarding, say, fire safety are pretty important and worth it even at the cost of productivity.
Zoning, on the other hand, that keeps corner stores, apartments and condos out of some neighborhoods... that is a huge problem and doesn't really exist for safety reasons.