Exploring how insights from the human brain can optimise artificial intelligence, and how AI can, in turn, enhance human cognition