How flies, humans, vacuum cleaners and self-driving cars explore and map the environment — and how this led to a Nobel Prize