This seems somewhat misleading. Lots of products take a lot of investment in them for many years before they reach profitability. The Boeing 787 Dreamliner, for example, was in development for 7 years and another three years after that before it was profitable. The Falcon 9 rocket took 13 years to develop and now it's the most profitable satellite launcher around. The Dyson bag-free cyclonic vacuum cleaner took 15 years to develop.
Most of this AI stuff has only been in heavy development since ChatGPT burst upon the scene in 2023. It's not unreasonable to see the industry still heavily into the investment and development side of things.