BEIJING/SHANGHAI — Ford Motor Co. and Baidu Inc. launched a two-year project on Wednesday to test self-driving vehicles on Chinese roads, amid a global race by carmakers and technology companies to develop autonomous vehicles and the software that runs them.