The tiny brain of a fruit fly may have just offered a bizarre glimpse into the future of artificial intelligence.