Analysts say Anthropic's IPO could offer one of the clearest tests yet of whether investors remain convinced by AI's rapid growth despite mounting concerns over infrastructure spending, energy use and regulation.