Aaaand, the real kicker is that the towns typically can't fight too hard because a lot of zoning provisions they'd use are not up to the legal standard it takes to do battle with a megacorp and they'd rather keep them on the books as they are than have the megacorp's lawyers pick them apart.
So you can still have Chernoybl in your back yard with zoning.