"The publisher also provides the marketing, editing, proofreading, typesetting, illustrations and quite a few other services that the author cannot provide themselves."
This is an important point. Traditional publishers provided a lot of valuable services to authors not least of which were marketing and publicity. However in return for these services publishers asked a very high price - up to and sometimes even including all ownership of the creative work. They got away with this because of the monoploy power they held due to the huge barrier to entry caused by high printing and distribution costs. Ebooks have effectively eliminated printing and distribution costs and have undermined that entire business model. I don't think traditional publishers can continue as they are now that their main source of power is vanishing. The question as to who will take over from publishers as the dominant power in the market is as yet unresolved:
In my favourite scenario it will be the authors themselves. A small number of successful self published authors are showing this is possible and when a superstar like J K Rowling opts to self publish you have to take it seriously. Unfortunately the much larger number of poor quality self published works makes me suspect that most authors lack the knowledge and skills to critically evaluate, edit and market their own works.
In my least favourite (bud sadly more likely) scenario it will be a small number of (possibly only one) mega online retailers who will own the market.
As for the publishers, well everything they used to do will probably become just a service for hire.