Apple didn’t overhire during the pandemic either, which means they avoided the mismatch between staffing and demand that other large tech firms have.
[1] I was an partner in a company that nearly died, but was able to pull through and eventually do well/get acquired. Ultra conservative around hiring is a bias I know I still carry with me from the experience.