Baidu CEO Robin Li said 2024 was a transformational year as the company pivots to AI, where it faces fresh competition from start-up DeepSeek.