Simple, small, limited conditions to stop certain behaviors.
As to why many industry/business non-competes are legal? There’s a good chance they may not be. But until taken to court we don’t really know.
I’d be curious to know why these companies were chosen. Were they especially bad? Or just the companies they had the best evidence against?