Donald Trump vows to stop American firms from offshoring jobs to Mexico and Asia. "Companies are not going to leave the United States anymore without consequences," the president-elect said after striking his recent deal with Carrier. "It's not gonna happen."

But what if the destination of choice isn't Monterrey or Shenzen but Robot City? Indeed, that's how the Carrier story is unfolding. The company is investing millions to automate its Indianapolis furnace plant, with machines eventually replacing some workers whose jobs were just saved.

No surprise here. Most of the multi-decade decline in factory jobs has been due to higher productivity from automation, not trade. But Trump, oddly, seems unconcerned. When asked whether he was worried that his policies would accelerate the rise of the robots, the president-elect offered a hand-waved "We'll make the robots, too."

Yet the economic logic — such as it is — of Trumpism seems to be that government should prioritize protecting a worker's current job over preparing him for today's volatile, churning labor market. Trump, however, doesn't seem to differentiate between globalization and automation.

Other populist politicians might. Imagine: What if technological progress gobbles up existing jobs as never before? Some of the scarier estimates — which I approach with some skepticism — show that most jobs will be threatened by automation over the next 20 years.

It's not hard to imagine an automation backlash. There's no rule that a society has to accept technological progress and all its accompanying disruption. Now a neo-Luddite scenario where politicians stir up or take advantage of automation fears may seem far-fetched. And it's certainly unlikely we smash the robots or erase the algorithms. But there could be pushback just the same.

There already is, and not just by the anti-GMO, anti-vaccine crowd. Efforts by incumbent taxi and hotel companies to rein in Uber and Airbnb are one form of technology backlash. Great Britain is experiencing its biggest railway strike in a generation as workers fear a move to get rid of train conductors will eventually result in trains being entirely automated. Liberal groups were aghast when fast-food CEO Andy Puzder, Trump's pick for U.S. labor secretary, professed his love of automation. A New York Times op-ed asks, "Google Wants Driverless Cars, but Do We?" Many truck drivers might be thinking the same thing.

There are also less direct ways to say no to tech progress. Maybe the backlash isn't against the machines, but the people who most visibly benefit from them. In San Francisco, highly paid knowledge workers have been blamed for higher rents and rising living costs, their billionaire bosses for worsening America's income and wealth inequality. Sure, Silicon Valley's innovation may drive economic growth, but what if most people don't benefit? Break up Google and Apple! As Bernie Sanders said during the campaign:

Where we've got to move is not growth for the sake of growth, but we've got to move to a society that provides a high quality of life for all of our people. In other words, if people have health care as a right, as do the people of every other major country, then there's less worry about growth.

Anti-trade arguments could easily morph into anti-technology arguments, or at least more generalized skepticism over faster economic growth.

In response, policymakers must make the pro-progress argument in favor of dynamism over the illusory security of stasis. Then they need to back that up with policies that help create an ecology for growth that is both rapid and widely shared. And, along with that, they must modernize the safety net so it provides a support system — portable health-care benefits, relocation subsidies, expanded workplace training programs. The Obama White House just released a big report, "Artificial Intelligence, Automation, and the Economy," that makes this point. Workers should not merely survive the inherent chaos of competitive capitalism — including both globalization and automation — but thrive from it.