Policy failures grind the gears. Governments must retrain workers and shore up safety nets before automation erodes livelihoods.