This is more akin to automated machinery going wrong. This is most likely a programming error as opposed to a robot that is actually “aware” of its surroundings. Excerpt from an article describing the death is below.
“The robot from section 130 should have never entered section 140, and should have never attempted to load a hitch assembly within a fixture that was already loaded with a hitch assembly. A failure of one or more of defendants’ safety systems or devices had taken place, causing Wanda’s death,” the lawsuit alleges.