I do not believe that automation and related efficiency improvements are responsible for most of the job loss.  The studies that claim this are flawed in the sense that they choose specific industries that still manufacture in the USA and point out that employment has dropped through automation.  What they cannot quantify is the number of jobs lost by complete transfer of production overseas and those jobs which would have been created here as new industries come into existence.  These days, the manufacturing is cited overseas from day one and not counted as lost, but it could have been cited here under more favorable economic conditions.  I agree that tariffs will raise prices, but the country as a whole will benefit through rebuilding the ability to manufacture which in the long term is vital.