What is the benefit of a data center to the local community? This is the real problem. Best case, it’s eh, whatever. It doesn’t provide jobs, but if planned and built properly it is largely inoffensive (provided that it does not cause electricity rates to rise; this is pretty locally specific as different electricity markets work different ways). Worst case, you have Elon Musk putting old jet engines next to your house, or that Bitcoin miner in Texas where neighbours report 90db noise.
At the very least, laws need to prevent the second case.