2nd largest manufacturer by dollar value, not overall activity, employment, share of employment, value relative to other industries, percentage of consumption manufactured domestically, etc etc etc. America's manufacturing is specialized on highly valuable outputs.
So what is the metric we should use to determine whether the U.S. has "lost" manufacturing, or "brought it back"? What should the target be?
US Manufacturing has a high automation rate for the same reason US Agriculture has one of the highest automation rates in the world. No one wants to do those jobs for the wage that would be make them competitive/viable, despite all the political talk surrounding it.
Companies in those industries invest millions into automation lines and robotics and pay some maintenance staff and specialists 65-120k/yr because it's cheaper and (more damnedly) more reliable than hiring 1-2k individuals on at 25-40usd/hr.
The outcome is a result of laborers (and capitalism), not the other way around.