Although the US midterm elections were billed as a referendum on President Donald Trump, in many states the construction of data centers and the impact of artificial intelligence on jobs were even more important issues for voters, and opposition to technology companies gave Democrats a boost in some quarters.