Chatbot gibberish is annoying. But it’s also a lesson in how AI works.