That's a silly argument, onus is on the teacher to make the subject interesting for students.
I don't see how AI is making it harder to make the subject more interesting. Homework certainly isn't what gets people interested.
But regardless I don't buy that, especially in college where you pick your own set of classes.