This has been a joke since before anything resembling the modern “AI” boom. Basically since murderous future AI was a think in popular media, at least since Terminator if not earlier. People would joke about treating their appliances kindly so that “Skynet” won’t kill them in the future.
Ironically I stopped drinking soda because Pepsi got rid of the only soda I really liked.