Local governments race to attract data centers, often in spite of concerns from their constituents