It's like literally any other change to society:
You either are able to convince people of its utility, or you are run out of town.
At the very least, a lot of these projects are done via less-than-open deals with municipalities and often receive tax incentives or structurings that are, honestly, not appropriate for multi-hundred-billion-dollar corporations to receive.
It very much feels like a far away elite exploiting an area in a way designed to prevent the locals from having a say about what they should receive in the bargain.
Throw in the fact that many people have concerns about the impact of AI on their employment prospects in the face of decades of flat wages and offshoring, and it's really no wonder people absolutely hate these damned things.