C3.ai once looked like the future of enterprise AI, but mounting competition and weakening fundamentals may be exposing a much harsher reality for investors.