Japanese carmakers have lost sales to Chinese nationalism, but they’ve needed a new China strategy for a while