Software similarly isn't like farming where the margins are so thin that processes become homogenized. Software companies traditionally have had so much "fat" that the structures built around this cashflow are arbitrary.
Some build temples and monasteries, some create a monarchies or dictatorship, some are anarchist libertarian experiments, etc...
What is common among them though is that the hierarchy revolves around culture rather than pure meritocratic ability.
E.g. if a foreigner goes to work in Japan, he/she might think that it's all fake work meant to keep fax machine companies alive but it's not "fake" when viewed from the perspective of keeping a culture alive. In any institution, there will always be founders and traditionalists who need the culture to stay alive to support their position. This "support" exists in the form of followers which make up the bulk of the org body.
Engineering is an outlier because it's more mercenary, the skills are transferable so there isn't a need to compound loyalty and connections at one single place.
That is... traditional companies are like a national army. Even in times of peace it is held together by nationalism or peacekeeping. Tech companies are like mercenary armies, they are only held together when there is Something to Do.