Oil, an interesting resource that is used to create over 6500 products, fuel is just a fraction of that. Try creating roads, roofing products, paints, plastics, lubricants, solvents, fertilizer, insulation, etc. without oil. Windmills can't create plastics.
Who said anything about windmills?
China is replacing oil consuming vehicles with electric vehicles charged by coal burning power plants - hundreds of new ones on the drawing board and under construction.
They are intelligently substituting coal (which they have lots of - known reserves are 34 times yearly consumption) for oil (which they don’t have lots of - known reserves are 5.4 times yearly consumption)