BEIJING— China is joining France and Britain in announcing plans to end sales of gasoline and diesel cars. China’s industry ministry is developing a timetable to...