Ethics of AI-Generated Coursework: A Kantian Analysis