I'm not suggesting to remove the city; just a way of re-implementing land-use and building codes if a city doesn't handle it. Probably you'd want fire codes and limited zoning for polluting heavy manufacturing to be handled by the city no matter what; though lawsuits and insurance could cover in a pinch.