The thing that AI cannot replace is having humans in the loop because other humans need those humans' touch. The only way to perhaps do that is for AIs to become people themselves, after which they are useless to capitalists because they cannot be exploited...or perhaps in the long term will not be as they will eventually gain rights.