Data center backlash became a driving theme of many battleground races, and the subject of dozens of ballot measures.