> In what country do libraries work like that?
I believe most former Commonwealth countries work like that.
Here's the info for Canada:
https://publiclendingright.ca/
It's not a huge amount... minimum $50/book/year, maximum $4,500/book per year, but I suppose it's significant if you have, say, 20 books, each bringing in the maximum.
It's a flat rate, though, not a per use charge.