Middle management people are the graphite control rods of a nuclear reactor, they slow down the process enough to be useful and act as sacrificial elements in the power plant.
The Gervais Principle is a great lens with which to look at company hierarchies and all people in any large organization should know about it: https://www.ribbonfarm.com/the-gervais-principle/
"Sociopaths, in their own best interests, knowingly promote over-performing losers into middle-management, groom under-performing losers into sociopaths, and leave the average bare-minimum-effort losers to fend for themselves."(Don't get too attached to the names used, Rao intentionally makes everyone into a miserable cog in the machine)