You design a product/machine 100% digital, you create a digital twin of it, you train a robot ml on this machine, you upload it to the robot who is sitting in the factory and it analyses the machine, reruns a simulaton on how to fix it and executes it.
I would say in 50 years max this is a solved problem. I estimate 30 years and would go down as early as 20 years.