They use crowdsourcing:
We're a collaboration of scientists at UC Berkeley and UC Davis and our image labeling engine can take any photo and accurately label it. We use computer vision and an innovative crowdsourcing network to recognize images, and the architecture learns over time, so it gets smarter with each search.