This National Bureau of Economic research paper is behind a paywall, but the premise is up for discussion:
This Paper challenges two widely held views: first that trade performance has been the primary reason for the declining share of manufacturing employment in the United States and other industrial economies, and second that recent productivity growth in manufacturing has actually been quite rapid but is not accurately measured. The paper shows that for many decades, relatively faster productivity growth interacting with unresponsive demand has been the dominant force behind the declining share of employment in manufacturing in the United States and other industrial economies. It also shows that since 2010, however, the relationship has been reversed and slower productivity growth in manufacturing has been associated with more robust performance in manufacturing employment. These contrasting experiences suggest a tradeoff between the ability of the manufacturing sector to contribute to productivity growth and its ability to provide employment opportunities.
While some blame measurement errors for the recently recorded slowdown in manufacturing productivity growth, spending patterns in the United States and elsewhere suggest that the productivity slowdown is real and that thus far fears about robots and other technological advances in manufacturing displacing large numbers of jobs appear misplaced.