We can see the beginning of the end of humans now. "Peak baby" worldwide was in 2013. Essentially all of the developed world has a birth rate below replacement rate.[1] This could just be a slow phaseout of humans over the next century as AIs take over.
Milton Friedman's position that the sole purpose of the corporation is to maximize shareholder value is now accepted economic wisdom in the US.[1] So, once AIs get better at running businesses than humans, investment decisions will put AIs in charge. It's the free market in action.
Next big milestone to watch for: first big company with an AI in charge and outperforming competitors. This outcome is inherent in capitalism.
[1] https://desapublications.un.org/publications/world-populatio...
[2] https://www.nytimes.com/1970/09/13/archives/a-friedman-doctr...