It learns to see by reading — and you never hand it a label.
Show it a photo and the caption that happened to come with it — then do that a billion times. Slowly it ties what it sees to what we say, until pictures and words live in one shared space. Ask in words, it finds the picture; show a picture, it finds the words. Nobody labeled anything — the captions the world already wrote were the whole lesson.