Nonalcoholic beer is on an upswing, while midsize and craft breweries are feeling the effects of a changing consumer landscape.