What is the point of humanoid “general” robots then? We already have pretty reliable ways to make and train humans. Humans are cheaper and better than robots. I could imagine robots for some specialised tasks where you don’t want to use a human for eg security reasons, but you don’t need general purpose robots for that
technology gets cheaper over time. If they were always going to cost the amount they do now, you might have a point. But they'll eventually get much cheaper.
If robots ever do get cheaper than humans for it, though?
Robots can be optimized for tasks and if they are, their benefits are greater. When cars replaced the horse, it was because they didn’t poop, and because a car designed only for transport would not suddenly have a heart attack and stop working.
Robots are good at things that are "simple" but where human precision is not good enough, or where people would get bored and make mistakes.