Months before the release of the latest DeepSeek models, Baidu’s Ernie bot was seen as a Chinese alternative to ChatGPT.