Germany have topped Group B and eliminated South Africa, while Spain finish second and China are also through after a hard-earned draw