AI is generic software. When given control of a computer, it can do almost anything you can do with specialised software. In fact, it can do more, because it can reason and use judgment.
Moreover, it can also build hyper-specialised software which serves your needs better than anything out there. This makes existing software less valuable and easier to replace.
The era of making money by selling software alone is coming to an end. Sell something other than software, then build and use software to sell it faster, make it better, or cut your costs.

