Tips are for table service. That's it. When you go to Starbucks, ask for a product, then make payment for that product, and the little POS machine basically says "hey, can we have extra money?" it's systematized panhandling.
This is where my own internal rubric for tipping starts to break down. The delineation between "sat at a table and got service", and "payed at a counter to be handed something prepared" has a middle grey area for things that are made on-demand for me, by someone behind the counter, to my specification. - In your Starbucks example if they grab a pre-bottle something is that service? - Pulling a latte from a latte mach…
To me, a tip goes to an individual, not everybody who happened to be working whether they helped me or not. This is one thing I really object to in places that have a general tip jar. I tip individuals, not companies.