Tech giants are cutting staff to spend more on agents, with no signs of slowing down the automation drive