China still burns more coal every year than every single other country on earth put together.
This matters a lot, because it doesn't matter that you're "using electricity" if it's coming from a big ol' coal pollution factory.
In some ways, it's preferable to directly use the coal in some applications -- changing from chemical energy to thermal to movement to electricity back to thermal energy can be less efficient than just changing the chemical energy to thermal energy and using that directly.