Everyone seems to wrap up their praise of AI by claiming that it will bring an era of abundance with UBI. Once we don't have UBI because why the fuck would we, you'll see most people's opinions of AI start to change from one of cooperation to adversarial.
The steam engine produced raw power but that still needed to be controlled and directed for a multitude of purposes, which required putting dirt farmers through education to turn them into factory workers. If machines now do both the thinking and the hard lifting, why exactly would their owners need us for? From where they're standing, they're now looking at a pragmatic solution to global warming: just reduce the "energy requirements" of the population.