The British Library has a large quantity of books that have literary, academic, cultural or bibliopolical significance but are too niche to ever see print new print runs.
This idea that there can only be merit in a work if it's commercially viable is incredibly ignorant, and if that becomes the standard for whether a work is preserved or not, we stand to lose a great deal of our cultural heritage.