The famous British economist Ronald Coase once asked the heretical question – why do we need companies at all? Why can't a bunch of independent suppliers achieve through the marketplace what a firm achieves, with its organisations, rituals and loyalties?
The standard answer in economics is that there are synergies and spillovers from spontaneous collaboration, which only happen inside the firm and not in a marketplace. And that some things only work at scale.