Artificial intelligence is boosting academic performance, but it could also be weakening students' critical thinking skills.