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.
Cars can stop working suddenly in many many ways, for many reasons.
Funnily enough, cars have their own way of pooping and dying of a heart attack.