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.
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.