The latest round of layoffs comes in a context where big tech companies have been forced to slash costs to prove to investors they’re profitable in an age of rising inflation and higher interest rates.