BMW AG has spent €2 billion ($2.51 billion) over the past five years to rev up production and widen its distribution network to compete in what is widely expected to become the No. 1 luxury car market in the coming years. Volkswagen AG’s Audi has long been China’s most popular premium car.

But experts say the gap remains stubbornly wide thanks in part to BMW’s production…