Do you think AI is more likely to end Humanity or to end Capitalism?

I feel as of CEOs worried about the dangers of AI are equating the end of Capitalism with the end of the world, what are your thoughts?