In 2005, China only had two EV battery manufacturers. Twenty years later, it produces more than three-quarters of the world's lithium-ion cells. How did it happen?