Anthropic has surged to a trillion-dollar valuation on secondary markets, overtaking OpenAI.