Short answer: Depends on how you define "capitalism".
I highly doubt that a fully planned economy is in the offing, even with very smart AI.
I expect this too will be around forever.
Well, now things get interesting. I think there's some chance this *won't* be around forever.
Keynes envisioned this kind of situation driving down the return on capital, preventing the capitalists from taking all the wealth...
By some reckonings, the return on capital is already really low, and companies are making big profits on what economists call "rents" - i.e. sucking money out of the economy.
home.uchicago.edu/~barkai/doc/Ba…
Some possibilities: Unions, co-determination, sovereign wealth funds, high corporate taxes...
(end)