As per a report, worker was killed during installation of a robot in a car manufacturing firm. Though the title leads to wrong conclusion, robots are lifeless and brainless and any action is due to wrong programming/setting by the concerned programmers/assemblers.
The robot must have been in commissioning stage or under trial runs. One has to do thorough event tree and fault tree analyses before putting the logic into field use.
Nobody should be allowed to be within the reach of the machine and suitable physical barriers and sensors/interlocks should be incorporated.