Editing, layout, artwork, and editing are outsourced. If you choose to self-pub, you can hire the same people the Big 6 publishers hire, as long as you're willing to do a little legwork to discover who they are.
Kindle / ebook publishing is making the layout and printing part mostly obsolete. If you know HTML and a bit of CSS, you can write the book in native Kindle format - it's pretty similar to writing a blog post. (I tested this yesterday - it's not at all difficult.)
Once you're done, you can publish in ~24 hours. That beats the 18-24 month trade publishing cycle. The successful self-pub authors have a lot of books, and doing it yourself makes it much easier to publish a few books every year. You also get to keep 70% of the sale price vs. the standard 5-15% royalty for trade publishing.
I'm thinking long and hard before signing another trade publishing contract, that's for sure. If I do, it's going to be with the publisher's understanding that I'm fully capable of doing this myself, which should be reflected in the advance.