Mayor Bill de Blasio's presidential campaign may be on life support, but he's still rolling out new policy plans. His latest? A tax on robots. 

De Blasio says the tax would be a job protection measure.

He wants to force companies to pay the equivalent of five years of payroll taxes for every job that disappears because a machine replaces a person. 

The mayor is also calling for the creation of a new federal agency to regulate the growth of automation in the workplace and its impact on working Americans. 

In an op-ed published in Wired Magazine about his proposal, the mayor says, "A robot tax will help us create stable, good-paying middle-class jobs for generations to come."