China is planning to halt production and selling of cars that run on fossil fuels to focus on green cars.