A number of companies, including Uber, Cisco, and Block, have attributed recent staff reductions to AI.