The beverage giants are joining an industry-wide effort to connect consumers with government safety data as shoppers become increasingly concerned about what’s in their food and drinks.