For most people the dangers of openness (see Cambridge Analytica), the lack of upside and the lack of security in small players mean that walled gardens are the best solution for the majority of people.
This lawsuit is exactly why people trust walled gardens to keep their data walled off. Because I trusted LinkedIn, not ProAPI and whatever malicious actors they sell to.
Obviously LinkedIn is also in the business of selling the data about you, and also access to you.
LinkedIn just doesn't like this other company leeching off that data LinkedIn got about you, and then competing with LinkedIn in making money off that data (including access).
Not a 3rd party selling my information to a scam farm in a foreign land that has no laws that will use all of that information to extract money from my parents.
You are free to leave and delete your data, unlike if everyone has access to it then it is out there in perpetuity.
You definitely can't sue a data broker to pay you/stop using your data.
(edit: "my" data, as in the data I post there.)
Because LinkedIn is less effective than I'd like, I support 3rd parties scraping the data I posted there, again on the hope that they'd be more successful at marketing that data, which I would benefit from as the data is my resume.