Robots have many advantages, for example they are able to reduce manufacturing costs. A robot at an assembly line can work longer than a human, so it makes sense to replace human work with artificial intelligence. On the other hand, robots have a big disadvantage: They are looking very similar to humans and it's possible to build robots which are more intelligent than humans.
Let us focus on the task itself. Suppose a human worker would be replaced with a robot. At first sight it's simply an automation task. The robot will increase productivity and everything is fine. But why does the robot look like a robot? If the aim is only to do some work with a machine, a normal machine without any artificial intelligence would be much better. Engineers are arguing that a highly complex task can only be automated with a human like robot. It needs the same or even higher skills than a human can provide. But are the consequences anticipated? After the work was delegated to the robot, mankind will be confronted with millions of robot workers who are more intelligent than the average person. Is that a good idea?
Update: Assumptions about robots
Robots are the result of a design process which is fulfilling the needs of the previously defined requirements. A factory robot who should be able to hold a screwdriver needs a human like hand. If mankind defines certain goals, for example that robots should increase the productivity and should handle dexterous tasks, the result is a certain shape of a robot, and a certain type of software which is able to control the machine. So we have to ask, if certain requirements are problematic.