Ummmmmm... who do you think chooses those digital books, catalogs them, recommends them to vendors, etc? Librarianship isn't dying hon, it's just changing.
P.S. As a former public librarian, I can also tell you they're still extremely valuable to the community... especially in low-income areas, where we're their only access to computers and social programs. Remember, libraries have computers now - LOL.