The much-deplored ‘escape of the brains’ has actually brought closer ties with Silicon Valley, India, and even Taiwan