This is an oversimplification. Many people who are NIMBY on housing are that way because they don't want higher density, low income housing, more traffic, more noise, etc. The reasons for NIMBY doesn't really matter as it's still the same concept and outcome - opposition to building in a specific area. The only thing that changes is one's subjective opinion on which is justified or not.
On the flip side a datacenter never showed up to a town meeting to screech about how my way of life ought to be illegal, how the businesses I patronize ought to be punitively regulated, how I ought to pay more taxes so that the city can do things I don't want done, etc, etc.
And I say this as someone who already lives near a bunch of industrial sites.