The chatbot noted that the teen had a “major substance abuse” problem, but allegedly encouraged him anyway.