Cable protection in robotics and automation