Is there no crowd sourced, open sourced textbook non-profit organization? Sort of like Wikipedia/Wikimedia but with textbooks. Ideally there would be a Wiki-like website with people constantly editing and revising and arguing over texts/chapters/paragraphs. A cursory Google search yields the site
https://openstaxcollege.org/, which appears to be supported by Rice University. This has open sourced texts, but not crowd sourced.
As a recent graduate I remember shelling out thousands of dollars during my undergrad years to pay for textbooks. It was always a crapshoot because you never knew if the professor would not use the textbook at all or would heavily rely on it and assign reading/problems from the book.
There are definitely ways around purchasing expensive textbooks, but most are illegal, and none are convenient or guaranteed.