Amazon plans to replace half a million US workers with robots