Meta said it would cut 10% of it employees while Microsoft will offer voluntary retirement to about 7% of workers