A useful analogy might be to look at US auto manufacturing when the Japanese were eating the US’s lunch in the 1980s. How long did it take Detroit to regain the manufacturing expertise to “remember how to build things”? About 10-15 years industrywide from my recollection. And that was for a very complex high-consequence physical product that was a moving target technologically while necessary process changes were being made. I invite others’ thoughts and memories on this…
I think it will just take more time than people anticipate. Like 2-3 generations. But it will come back even if only because China's days are limited due to demography. Tariffs or not, but in 50 years it will be very difficult to make things there because they will have acute shortage of workers. Not qualified workers, but any workers. Those who start working on reshoring sooner, will win - regardless of politics. China has it's end already baked in and there is no way for it to bounce back, so everyone has to start preparing.