SHANGHAI—A little-known Chinese company has become the world’s biggest maker of electric vehicle batteries.

Beijing engineered a scenario that didn’t give the world much choice.

China is by far the biggest EV market, and to boost its standing in the fast-growing industry, China began pressuring foreign auto makers to use locally-made batteries...