Prosecutors say the chatbot crossed a line by helping plan the attack.