BMW has agreed to extend its strategic alliance in China with Brilliance Auto until 2028.