You are assuming all stakeholders want the mid level people gone. We already have the technology to automate most of this stuff - bullshit jobs exist for a different reason.
There is also this other process at work that is shaped by quarterly earnings reports in public markets. Maybe if we started over with a mirror economy that we rebuild from the ground up, most of these things could be automated.
I think there are many inefficiencies in the system that Homo economicus wouldn't be able to deal with even if Homo economicus actually existed.