Universities are in trouble and the influx of brainpower from overseas is shrinking. The long-term consequences could be disastrous.