DeepSeek had a sudden rise to popularity after it launched a powerful AI model that it said had been trained extremely cheaply.