Exactly - the safest thing to do with the AI gun is not point it anybody and destroy it. Perhaps the AI gun shooting somebody wouldn't be an intentional murder but it's certainly manslaughter since you know that it could shoot whoever it's pointing at so simply pointing it at anybody is the active decision that frames the crime.