The chatbot's unusual behavior, which included self-criticism and profanity, occurred after a system update and has sparked debate about the use of AI in customer service.