AI giant Anthropic has confidentially filed for a U.S. initial public offering, the company said on Monday, edging ahead of rival OpenAI in a closely watched race to reach public markets.