Despite the rapid advances in artificial intelligence in recent years, the humble human brain still has the edge over computers in its ability to transfer skills and learn across tasks.