Random layoffs that affect high performers and low performers equally doesn't encourage performing higher. If anything it encourages performing lower because why bother if it's not going to even save your job?
Because it doesn't matter. The idea that these companies are overflowing with "low performers" is a complete myth, a lie that people use to comfort themselves.
The Big Names are actually filled with so many smart and productive people that it doesn't matter who they lay off.