Who should be blamed if an Ai or robot hurts someone?

A few days ago it was reported that ChatGpt was getting shutdown and the program tried to prevent it and even lied to cover it up, however being familiar with programming myself, it’s highly unlikely that Ai would have that level of self preservation without insider help. A link to the story: https://www.dailymail.co.uk/news/article-14167015/Scheming-AI-bot-ChatGPT-tried-stop-shut-LIED-challenged-researchers.html


So my question is for example if ai does something that hurts or results in the death of a person who should take blame? The person or the entire company? I think the entire company? Because this will prevent any disgruntled employee from implementing malicious code. What do you think?

Updates
1 y
I want to add they should also implement anyone going back from 5-10 years into the investigation. Just cover any slick person trying to be smart.
Updates
1 y
Please answer the question lets be grown about this and not act like children. If you dont want to answer then dont answer, its ok but dont put out of context stuff like trump.
Who should be blamed if an Ai or robot hurts someone?
Post Opinion