AI being a bubble it's not mutually exclusive of being a real and useful technology and the existence of non-snake oil companies.
Cisco was a bubble in the dot com crash, despite being a company that provide real value and profit, just not at the level of the crazy expectations from the time.