Inflation, overstaffing, tight customers budgets amid predictions of an economic slowdown led many tech companies to take cost-cutting measures.