A major way Coca-Cola and Pepsi compete is by getting exclusive deals with different restaurant chains.
It's why sometimes you ask for a Coke and they say, "Is Pepsi OK?"
Both companies make a lot of money from this, because they sign multi-year exclusive agreements.
Imagine McDonald's who serves something like 2 to 3 billion meals a year ONLY selling your product.