SABMiller has won the race to acquire Grupo Empresarial Bavaria.