Factories were originally located near housing (or vice versa) because the factories needed lots of workers. This doesn't apply to data centres. They don't need to be near anybody's home, so why should anyone be obliged to suffer their externalities? Just build your data centre somewhere else.