Because libraries predate copyright and publishers and all the industry behind it. If libraries were to be invented nowadays, they won't let them purchase a single physical book to be enjoyed by several different physical persons over the course of time. What the publishing industry would like to have is 1 physical person = 1 or more physical copies, not the other way round.
So how do you explain LLM companies paying roughly none of it? If you're saying the protection is stronger now... how have they not been sued out of existence?
Honestly at this point a library might be an easy sell, in some ways. Copyright holders would be getting something rather than nothing (or the nearly-nothing they get from streaming), they might leap at that.
This can't be overstated! Libraries would never be allowed to come into existence today. I think we should all think long and hard about the society we have collectively created. It is not too late to make an effort to fight to reclaim the rights and norms we've ceded...