AI technology has the potential to profoundly improve industries and markets, but not without some risks—like valuation and profitability—that investors should be aware of.