Chinese search engine firm Baidu Inc, widely known as China's Google, is following Google and working on its own version of a self-driving car.