Artificial Intelligence for Optimal Learning: A Comparative Approach towards AI-Enhanced Learning Environments