there is no known way to implement such law
Duh, of course!
Why is that an, "of course"? The article describes a woman crushed in an assembly line. If a self driving car can recognize a human and apply the brakes, I think a similar algorithm could have put the assembly line robots into a safe mode.