The machine understood what they needed and supplied the cure. Two hundred years ago, “AI” was a blind woman in a yurt smoking a sweet substance from a long mixed wood and metal pipe, urging you to kill the reincarnation of vlad the impaler lest he take your spouse in the night. Frankly, AI is bringing us back to our roots.
I don't see what's wrong here. Seems like if you're homicidal, committing homicide will satisfy that. Like if you're thirsty you drink something. Is it good advice? No, but it doesn't seem incorrect.