Or perhaps from his own carelessness. We don't know if he followed proper procedures, staying out of reach of the robot arm, etc. while it was active. Like airport ground crew who walk too close to a running jet engine.
It should have been a lock out tag out preventing it from moving, especially if it was having reliability issues.