They likely don't make sure it doesn't collide with anyone. There MAY be some local safety systems in place, like virtual light curtains and exclusion zones...
If you're filming a kung foo scene, you're already very careful to not collide with who you're "fighting". I don't see how this would be any different other than the robot is perfect and your opposing actor is not.