The Coca-Cola Co has ended its 28-year sponsorship of the NBA in the US, with PepsiCo reportedly set to replace its rival as the basketball league's exclusive beverage partner.