We have some refineries right up against homes in Wilmington and the bad parts of Long Beach.
In either case, the fact that zoning laws aren't stopping this but are taken as seriously as laws of physics when it comes to apartments shows that they're mostly a scam
Source: Grew up in Texas surrounded by mostly harmless pump jacks and then moved to Louisiana in Cancer Alley.