Robots are like tools. A saw has no choice in how a carpenter uses it, just like there is no choice or thought implied in a robot's actions. It is simply wielded by the human hand through the coding it was programmed to follow.
Robotics researchers find new ways robots can be used to supplement or replace human activity. It's an incredibly diverse field that produces all sorts of machines with as many practical applications as stars in the sky