If it weren’t for the CEO of Uber Technologies Inc. being pragmatic about his China business and selling to Didi Chuxing last year, Baidu wouldn’t have been able to swap its shares in Uber China for those of the nation’s dominant ride-hailing provider. That three-way trade and other income reaped 1.796 billion yuan for the search-engine giant in the fourth quarter and was the primary reason for Baidu beating earnings estimates.