Coca-Cola competes not with Pepsi. If you chose Pepsi, you will not suddenly choose Coca-Cola if if shows a flashier ad.
Coca-Cola competes with: a glass of water, a cup of tea or coffee, an actual meal, a walk outside, a meditation, a nothing (just you chilling and keeping watching YT), your vision of yourself as someone who is not a Coke drinker (so e.g. Coke drinkers in adverts tend to be active, adventure-seeking, well-socialized and loved).
It advertises most certainly not to make the product known, that's done by putting it on shelves in stores. Invading your attention at home or while doing anything other than shopping is strictly banking on triggering an impulse and/or trying to adjust your self-image to allow the possibility of you seeing yourself as the type of a person who uses the product.
Similarly McD and SBX compete with local parks and benches, Netflix competes with woodwork (and indeed sex), YouTube competes with going out (and thus Uber, in locations with poor public transport), Uber competes with not going out (and thus YouTube), etc. to various degrees.
(Things are different with advertisements especially for lesser known products without IRL presence. An advert != an advert.)