Actually lot of middle management jobs can be automated specially tasks allocation and tracking. It is not that difficult to imagine a system like that where these functions can be automated and this middle managers can be free to do more “valuable” tasks.