Leadership is the one doing the "replacing". They won't replace themselves. They'll replace you first.
Also there's tons of science validating how the most unqualified and unfit people make it to leadership positions. If you're a leader, most likely you're not a good one. So it's not like the industry knows a good leader when they see it. So if AI is a better manager, the industry doesn't care. It's politics and ass kissing that gets them up there.