The Afghans never could have done it on their own. Where does this idea that the Afghans are ten feet tall come from.
I think you answer your own question. Afghanistan sits astride historic trade routes and borders contemporary nations who are mistrustful of one another so the chances of finding an outside investor, as it were, have been and continue to be pretty good.