IBM didn't have it's first round of major layoffs until the 1990s, Google and Microsoft didn't have their first major layoffs until 2008-2009, Facebook/Meta didn't have its first major layoffs until 2022, etc. Even then, only a fraction of their employees were affected. People can last quite a long time at such places with a little luck.