Maybe, but it's clear that even statute doesn't prevent bad behavior: https://en.wikipedia.org/wiki/High-Tech_Employee_Antitrust_L...
How confident are you about that? Given how small the compensation was, does this really represent much victory? Do you really think class action lawsuits as they stand present much disincentive?
Which is a big problem with a lot of companies, and frankly a common bias in human thinking: hyper fixation on the present. I find this ironic given that one of our greatest skills that has led to our success as a species is foresight.
There's a ton of inefficiencies going on right now because of this fixation. As a simple example, the best way for a worker to get a raise is to change jobs. Frequently the last person in has the highest pay (or rather it tends upwards). So older employees leave. But those employees leaving mean a bigger loss because they have institutional knowledge and newer employees are less valuable because they need to be trained. It's cheaper on the long run to readjust your current employee salaries to keep them rather than hide people's salaries and hope they don't jump ship. But the latter strategy is definitely cheaper in the short term.
You can probably think of tons of examples and even more if you start to include natural coalitions with others[0]
[0] there's frequent psych experiments that are along the lines of "would you rather get $10 and other person get $10 or you get $50 and other person gets $100?" The former is frequently chosen because it's "more fair" despite being a worse option for yourself
Just look at Meta's current poaching spree. Whatever secrets OpenAI has will slowly but inevitably diffuse into other companies. Bad for OpenAI but strongly positive for literally everyone else.