The German auto giant bought a stake in Chinese rival XPeng after praising the dynamism and innovation of local automakers.