Japan Tobacco is to sell its beverage unit because of increasing competition.