There is an important difference between the paper publishing market and the others, which is that scientific publishing is 100% extortive. It provides no value at all.
Let's leave aside for a moment the argument that so-called piracy not necessarily decreases sales - remember I'm not really advocating for copyright laws, just defending the coherence of the opinions of the people you are mentioning, who probably think that it does. From that standpoint, if everyone stopped paying for movies, Hollywood would close and no movies (except for hobbyist movies) would be made. If everyone stopped paying for music, music would still be made but no one would make a living from it. The same with books, etc. So in those fields, there is a causal relationship between not paying and the field itself being impacted, as well as the income of people that are doing honest work.
On the other hand, if everyone stopped paying for papers, nothing relevant would happen - in fact, mainly only good things would happen! The people who actually do the work of publishing and reviewing the papers aren't being paid anyway. We would post them to public repositories and move on. The quality of science wouldn't suffer at all. The accessibility of science would improve (everyone would be able to access papers without paying). The only ones that would suffer would be publishers that are doing largely an evil thing (restricting the access to scientific knowledge - it's hard to actually argue that they are providing access, as publis repositories already do that for free) and if they closed, it would be a net positive for science. Thus, and to sum up, it's really hard to defend paying scientific publishers, even if you generally believe in IP and copyright, because the whole market is a huge net negative for society, which is not true (or at least, not commonly believed to be true) of most other IP markets.
Why don't people just do this then? The majority of credible papers still gets submitted to Elsevier and alike publishers (and the fact a paper is published there itself boosts a paper perceived credibility even though many papers they publish happen to be bullshit) and papers published on people's personal websites only are not taken serious. It seems like people still need Elsevier for some reason.
For example, why can't I (tenured professor) stop submitting journal papers? In Spain we have a research assessment every six years where basically only indexed journal papers count (even in CS where actually journals are quite irrelevant compared to conferences, but that's a different war of mine...). If you have enough indexed journal papers, you get a pay rise. If you don't, you not only don't get the rise, but you have to teach a punishingly high amount of class hours, basically leaving no time for further research. So for any professor that wants to do research, passing this assessment is pretty much needed. And the overwhelming majority of indexed journal papers are in Elsevier and the like, and it's highly likely that it will be the only thematic fit for a given paper.
Similar mechanisms are in place for tenure requirements, recruiting, grant calls, etc. Changing them is difficult. I do try to fight for it as much as I can, but it won't happen in the short or medium term.
And then there is bibliometrics, the art of lying with publication statistics. Everything humans get wrong is even worse there. A. Aaronson is different from Al. Aaronson, right? No paper has more than 3 authors, right? Journals always count for something, conferences don't, right? etc.
In Spain, gift authorship (adding authors that didn't do anything, typically in a mutual arrangement) is not uncommon. Not predominant, but definitely not uncommon.
And why do publishers like Elsevier hold most of the indexed journals? Pure inertia. We keep sending papers there because we need to for reasons like the ones explained above, then our papers get citations, so those journals keep their impact factor high. And it is extremely difficult for new entrants to break into the rankings, because sending a paper to a new journal that is not indexed yet has a huge opportunity cost (months of work that you aren't going to get recognition out of for tenure, promotion, grants, etc.) so unless they start with really great momentum (support from a powerful scientific society, an open letter by big shots in the field, etc.) they never get the needed papers and citations to climb the rankings. So it's not that publishers do a better job so their journals have higher impact factors, it's that they have a captive market.
With textbooks a reasonable amount of the money goes to the authors. Those professors write the textbooks and will lose out if you pirate them.
It is not so with papers though. The professors who write them lose little if anything when you pirate their research - those who lose money (elsevier and co) in that case are (rightly) perceived as not deserving anyway.
I don’t know how it works in other countries but here in the Netherlands most professors write those textbooks during time they are already paid for by their employer, but pocket the revenue of the textbooks themselves. In the meanwhile they actively discourage the use of second-hand textbooks by requiring students to buy the latest edition each year.
For mathematics, all of my course materials were available in PDF format for free (which I could then print myself if I wished to). For Philosophy, the majority of readings were available through the library system. Some courses did require a textbook, but use of older editions was encouraged, and often a photocopied "pack" of the relevant chapters would be made available for a small fee (<£15) by the faculty office.
Source - I was in a class where a lecturer broke this rule. It was a £100 book with only two copies in the library for a class of 30-40. We (students) queried it and the lecturer was ordered to bring a printed copy (as in laser-printed) of the relevant chapters for each student.
In fact, in my experience the student union actually took advantage of that situation instead.
When I started studying at TU Delft in 1991 the student union had a deal with the local bookstore to give 10% discount to their members. So in your first week as a freshman you were told to become a member of the student union because you would get a discount on all those books written by professors.
The student union said they represented 95% of the students, but 90% of them were only a member of the union because of the discount.
Oh. I see they still have the discount, and the student union actually has their OWN (commercial) publishing house nowadays. https://www.delftacademicpress.nl/index_en.php
"Members of the VSSD get a considerable discount on the books of Delft Academic Press because the publishing company is part of the student union VSSD."
It does depend a bit on the university though. I've heard that some have a more oppositional relationship. And there are still issues with some students not feeling represented by the union. They are usually democratic institutions though, with every student getting a vote if they want it, which helps alleviate the worst of those issues.
That's because textbooks is a scam the professors are in on and profit off.
If we ever hope to change things we need to go on the offensive, and that starts with speaking the truth and never using the false terms put forward by the industry. So say Intellectual Monopoly laws instead of IP. If someone is insistent on making the property analogy, agree with them and tell them there is a term that actually is more truthful than IP: intellectual slavery.
To support my stance I can cite the German phenomenon (many attribute it's 19th century industrial growth to unconstrained knowledge distribution made possible by lack of copyright laws) and the biblical "miracle of the five loaves and two fishes" where Jesus replicated five loaves and two fishes to feed a lot of people (today copyright advocates would say replicating bread this way meant "stealing" from the baker). And the fact I then buy a legal paper copy whenever I read a pirated ebook if I liked it while the lack of a pirated copy availability would never cause me to buy a legal copy (countrary to the concept of lost profit copyright advocates use).
At the same time I was initially surprised about the fact the scientific society is openly speaking pro-SciHub and pro-LibGen: most of the same people would generally say piracy is bad both because it's "stealing" from the copyright holders and because it means breaking a law. They would condemn using cracked apps, sharing movies and ignoring licenses, I have met quite a number of professors who would surely expel me from the university if I had scanned an expensive textbook and shared it with other students, yet they magically support SciHub. I find this phenomenon curious.