Mistral has secured $3.5 billion in new funding led by Samsung as the French AI company ramps up its challenge to OpenAI and Anthropic.