I hear you. I'd be a mix of bemused and pissed off that a student would think they could pull a fast one like that.
But that's also not to say that AI-generated material is all bad. If it were clearly indicated, "This part is AI, and here's why" ... and it were smart? Maybe.