The Transformative Power of AI: Enhancing Student Engagement and Motivation