You’re looking on your iPhone for a particular picture of your friend, taken a couple years ago. There are thousands of images to search through, but the Apple Photo app zeroes in on the right person, and, presto, within seconds you find the picture you’re looking for. There’s a lot at work behind...