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