Think of it like dog ownership: if my dog hurts someone, that's on me. Property that causes harm is the owner's responsibility.
If I program a machine and it goes out into the world and hurts someone who did not voluntarily release my liability, that's on me.