A promise by Jeremy Corbyn to tackle the “threat” posed by automation to workers has sparked fears the Labour leader could impose a “robot tax” on businesses to pay for the retraining of humans who lose their jobs to machines.