Money doesn't sit still unless it is truly hard cash and stuffed under a mattress. When companies sit on huge piles of cash, what that really means is they have invested huge piles of cash.
That means they gave that money to someone else, and perhaps they are hiring, or perhaps they in turn invested it again.