Anheuser-Busch InBev's US unit has agreed to buy Virginia craft brewer Devils Backbone Brewing Co.