Robots completely replacing humans cannot occur in a capitalist system without complete economic collapse.
If robots are developed to be able to perform the most undesirable jobs, then they will also be developed to perform the most desirable jobs. If humans don’t work, they have no money. Humans without money cannot buy things. Humans can’t buy things, companies can’t exist.