It's facetious to pretend NIMBYs are as such because they're racist and classist, rather than because they just want to protect the single most valuable and future-determining investment they'll make in their entire lives.
Those factors are tied together and aren’t easily separable. The racism and classism comes in because they believe that people of a different race or class will diminish the value of their investment.
It is how (unregulated) markets work, but is this the right outcome? What do you think would happen if this were allowed to play out to its logical extent?
Not sure it's a bad thing. So, they would employ maybe 30 people after they're built. Consume a lot of power and water. I'd have to see the details of a specific proposal but I'd probably vote against personally.