In gates' case it was a father with enough money he could attend one of the few schools that he could have access to a computer and a program to learn IT. While ALSO having an investment banker uncle who was willing to invest millions into his company early on.