Thinking through AI, Cognition, and Learning Systems