This style of layoff seems far more common post-2020 than targeted "restructuring". I've lived through a few layoffs now, survived most of them, but each time and at each company I've gotten by on an apparent roll of the dice and nothing more. Every time I've seen some truly important ICs get let go, their EMs having no input.