In the USA, there are plenty of brains. Quite often whole departments in the leading universities are home-grown talent (and often 98% Asian, and good for them), and ex-coal miners in Kentucky and West Virginia are learning code and are very competent, because for a lot of solid mid-level jobs, you just have to be trained. And if a local community wants good jobs, so that men can again be the breadwinner and play their part, then it makes sense to embrace any new way of doing that, instead of insisting older industries be put back on life-support.
The UK dominated the world for about 100 years (I am being generous) because it was first out the gate with the Industrial Revolution. It thought it could sail on that impetus forever, but eventually Germany and the USA surpassed it. The USA had the big impetus in the 1980s and 1990s (the Silicon Valley Revolution), but cycles are shorter and they are starting to be overtaken. Can any country get a second impetus and a second chance? Yes, look at Germany and China. The USA just has to have the will to invest in its own people, and in infrastructure, so that (unlike the UK), it's not caught trying to re-establish dominance on a crumbling foundation.
If it chooses not to do that, then it deserves what it gets, economically.