My counterpoint would be that marketing and selling are often done rather wrong by the big publishing houses. People care about the story behind the book and the authors, I rarely see these emphasized in the typical publisher campaigns. Much easier for a modern author to forge these relationships naturally.
The other things you mentioned can also be automated to some extend (typesetting and layout for sure).
You might be interested in this Japenese bookshop - it was on HN a while ago. The proprietor only stocks one title at a time and treats the shop more like an exhibition.