PepsiCo has edged out Coca-Cola Co. by signing a sponsorship deal with the National Hockey League (NHL) and the National Hockey League Players' Association (NHLPA).