A growing number of states and local communities are raising concerns about the impact of massive data centers on energy, water supplies, and neighborhoods.