Some things need funding despite being unprofitable. Not everyone will agree, but I believe art/culture (including often unprofitable forms thereof) are worthwhile, and should thus receive public funding (to some degree). I believe the same about justice, policing, education, research etc.
None of this rules allowing a freeish market to operate where doing so "delivers the goods".