We are btw quite free to set up companies where "everyone does everything" if we want. Groups of people who specialize for different parts of a job will likely be more effective though
And I would argue, the increase in efficiency might make everyone in the group richer than if nobody specialized. Also be aware that some people are only fit for some jobs