As interest rates rise and growth slows, Silicon Valley bosses have begun to reclaim power from workers by slashing perks and initiating massive layoffs.