The Japanese have an excellent method for zoning that prevents the worst cases (industrial next-door to residential, for instance) but doesn't limit things like corner stores below an apartment.
https://urbankchoze.blogspot.com/2014/04/japanese-zoning.htm...