There are two types of people, those who feel energized being around people and those who feel energized by internal deliberation. Offices exist to satisfy the first category.
What is happening though is that the valuable work of today is conducted by internal deliberation (building apps, predicting prices, writing compelling blog posts).
As it becomes more possible for people to distribute their work without a company (app stores and the like), the office will be bled dry.