A university has used artificial intelligence to accuse thousands of students of cheating with AI. The problem was, many of the students had done nothing wrong.