Typically, you'll lose your new job, and probably become untouchable by most other employers. You'll be forced to pay a small fortune for lawyers, and spend numerous days in court, with the outcome uncertain, possibly for years, all while you're likely unemployed.
Not a chance most people would like to take.
Imagine you're working on cutting-edge technology, get an offer to lead a team or maybe a whole startup... but you have to wait a year.
For most startups, that's a deal-breaker. They simply can't wait that long.
So that's one key reason California is far better for startups - in other states, they're effectively prevented from poaching employees from big tech.
(Waiting a year is generally fine for big companies.)
Thankfully when it came time to leave Amazon, Oracle retained a lawyer on my behalf to handle those exit negotiations. Made life a lot less hassle.