The company said the 10% workforce cut is needed to run more efficiently and offset other investments. It will also cancel plans to hire for 6,000 open roles.