London cabbies’ planning strategies could help inform future of AI