President Trump said he will give federal agencies six months to phase out its use of Anthropic's AI products.