In my eyes, the same way it found all of the self-taught developers is the same way it "could have found" the group of potentially unbeknownst developers you are talking about.
I'd guess the natural desire to understand how things work (taking apart electronic toys as a child) lead a lot of developers to developing. I find it hard to believe deep down there are generally curious tinkerers who haven't found their way to a programming language of some sort?