The Impact of AI on Critical Thinking in Education