Source?Just to correct the article, Apple has in fact laid off employees
The "no layoffs" thing is tricky. Many companies use contract workers from outsourcing companies. They're not considered as full time employees of the company despite working full-time for the company. So when it's time to cut jobs, their contracts were simply not extended. Voila, no layoffs.
Sure, every company has TVCs. Google has many, but you know what kind of employees typically get to be in that category? People like cafe/food staff, cleaning services, security, etc. In technical roles, contractors are used too, but if you are the lead on developing the next iPhone or engineering lead for Android 14, no you're likely not a temp and likely a full time employee. Contracts not getting renewed aren't layoffs.
Meta has TONS of contractors are content moderators. Google does likely too.