The whole raison d'être of a large organizational pyramid is cost of processing and transmitting information and handling the associated noise. Middle layers of management filtering and processing information for the upper decision-makers. Keeping the noise down by designing company 'policies', 'strategies' and 'missions' that can be easily communicated to every employee.
A manager who designs the most efficient and scalable organization structure wins over the competition or conquers a new market.
Here comes the internet with zero cost of communication. Here come high level languages that make it cheap to describe the most efficient processes.
Any large organization can in principle be substituted by a code because the organization itself IS a code written in job description language.