A number of companies, including Snap and Coinbase, have attributed recent reductions in staff to AI.