I think the point is that data centres can be run with solar panels, so why aren't they? Why are they instead using so much natgas and other fossil fuels?
Because bureaucracy favours existing electricity consumers over new users, even if the new users are more economically valuable. Connecting to the grid is a nightmare, so every new DC is BYOG, which practically means gas turbines.
Because the sun doesn't shine 24/7, batteries aren't there yet and other than China no other country has the powerline infrastructure in place to feed the grid cross-country with the massive amount needed from one place to the other when one part of the country is cloudy and the other is not.
Yeah, electric is gradually showing up in construction, bottom up. Haven't seen heavy construction stuff myself yet, but plenty of smaller construction vehicles and heavy tools are increasingly electric where I live. A welcome development.