I would be very careful about basing your career decsions based on this trend. The data center build out will always be very boom and bust, which would really suck to work in. One year you would be making 300k working on dataceters and the next you would make 30k because thousands of electricians are now competing to build a few single family homes.
I’d go as far as to say that for someone in their teens electrician (or trades in general) is a more stable long term career path than software engineer.