Consumer electronics was “offshored” in the 1960s-70s. Most of that has become completely obsolete and was replaced by entirely new paradigms, which was “onshored” again in the 80’s, and then offshored again. In the meantime other industries were created - I was in Silicon Valley in the days of its glory. And now the hardware side of that is mutating, and much of it has been offshored. And much of it is now coming back again!
Do not assume that “industries” are discrete and perpetual things. They can change profoundly, and in new forms come right back.
We to put America First. We need tariffs and to stop ALL FORMS OF IMMIGRATION. Sorry that is the only hope...