I don't think we have to worry about "AI" being capable of replacing electricians and carpenters any time soon and that's ignoring all the unsolved problems with the robotics.
It's nice to have sci-fi fantasies and everything, but in the real world tradespeople are going to be around for a very very long time. They won't be building data centers for that long though. This is a short term hike in demand that just isn't going to last.
I hear China is doing a lot of this already to stave off their upcoming demographic collapse. I haven't seen raw details or videos though other than demonstration stuff (anyone have anything to share?)
Factories have been automating for decades. Last factory tour I took they said in 1950 this plant had over 2000 employees working, now (2019) about 200. Then he pointed to the laser cutter which alone replaced 150 workers with just 2. This factory is not considered very automated by modern standards either.
Already products are designed for robotic automation: reduce fasteners, make a single piece do more, make sure a blind one armed dumb person can put the thing together(thats basically the industrial single arm robots you have in factories today).
Still maybe this time is different...but to be fair I put the caveat that you must design the product from the ground up for this new kind of potential automation. (I was talking about the new bipedal vision robots not the old school industrial robot arms) What that looks like? Well the Chinese are probably cooking something up for sure and hopefully somewhere in the US its happening as well.
Repair/remodeling is challenging because you need (approximate) knowledge of construction techniques from across a 150 year timespan, buildings settle and change shape over time, and generally owners don't usually want the building completely gutted and rebuilt from scratch. But it's not that hard. New construction is relatively straightforward. The biggest challenges for construction robots will be handling dust/debris (25% of construction work is cleaning things up) and maintaining health and safety (of the robots themselves; self-preservation is a skill that has to be learned).
That said I don't think you'll see this with the current generation of humanoid robots. A lot of the design assumptions seem almost comically wrong to me.
It all comes down to robots being unable to hold and operate anything in 3d space, much less precision tooling in arbitrary environments, which is basically what construction is. Everything in construction needs extensive planning, then to be done in the exact right order, with almost perfect precision.
The idea that you could tell a robot how you want a house remodeled and that it'd be able to go from there to actually do it is frankly asinine.
We don't have robots at all, much less humanoid ones, not even doing comparatively trivial, fixed tasks like laundry or the dishes, and you think we're going to have them manage the infinitely complex task of remodeling a house? Your mental model of robotics is completely wrong.