The idea that robots displace workers has been around for more than half a century, but nothing has ever come out of it. As it turns out, the problems a robot faces when, say laying bricks, are prohibitively complex to solve. A human bricklayer is better in every single dimension. And even if you manage to build an extremely sophisticated robot bricklayer, it will consume vast amounts of energy, is not repairable by a typical construction company, requires expensive spare parts, and costs a ridiculous amount of money.
Why on earth would anyone invest in that when you have an infinite amount of human work available?