AmBev, the Brazilian unit of Anheuser-Busch InBev, has overtaken Brazil's state-run oil company to be the country's most valuable company by market value.