Firstly, neither OpenAI nor Anthropic is profitable, by a wide margin — investors are going to get impatient at some point.
Secondly, people that aren't enthusiastic about this whole thing are already experiencing something of an AI fatigue with all the AI features violently shoved into them by most software products they use. Being involuntarily subjected to slop in various online spaces can't be good either.
Thirdly, remember NFTs? So many people swore they were The Future™... until they weren't. But at least in that case it was much more obvious how stupid the whole idea is. The scale of the hype was also several orders of magnitude less.
So while OpenAI or Anthropic are maybe not profitable today, they've got at least 5 years to figure it out. And there is already talk of inserting ads into the "chat", but hopefully that does not work!
But really, LLMs are useful (yes, sometimes only in appearance, but sometimes for real), and with that, there will continue to be investment into them until they are made profitable.