If I need 5 developers instead of 20. I need 1 manager instead of 4.
Also a large chunk of manager work is grunt work like filling spreadsheets, writing emails, scheduling meetings, etc… With those tasks partially automated, I am pretty sure a manager could oversee larger teams and focus on the big picture instead of doing boilerplate tasks.