We don't always do the same work. Sometimes we need to concentrate. Sometimes we need to collaborate. Other times it makes no difference where you work, home or office. Rather than an office or cubicle, it would be better to offer different spaces for the type of work required.
I think most offices these days do offer different spaces. At mine, we have quiet areas, shared spaces and booths that are sound-proofed for small meetings, calls etc. Large, electric desks, multiple screens, quality equipment. The offices are far better than they were even twenty years ago.