There's more to the story than that.
Around 2000 the founder stepped away, and MBAs brought in automated machines. They were more efficient and consistent at making the drinks than the baristas, and business tanked. The founder came back in 2008, got rid of the machines, and brought the baristas back. Business took off again.
It really is the experience that is being sold.
I'm assuming you're talking about those Clover machines. They were really, really good and well designed IIRC. Trying to automate the barista with them; well, that's where they messed up!
Yeah, I guess if you can't grow revenue, the next best thing is to grow profit by cutting costs (or try both at the same time).
Honestly, their espresso has always been undrinkable, IMO
In the context of AI automation I keep coming back to "cute Starbucks barista" as the archetypal automation-proof job. Because the job isn't producing the beverage, but the little moment of human interaction. (Especially these days, when not much of it remains!)
Same goes with supermarket checkout. I noticed many people intentionally take the line where the human scans your stuff. They enjoy it!
Unfortunately many zoomers do not appear to have been informed of this fact, and will give you a worse experience, "humanity wise", than the self-check out machine!
When you treat your job as robotic, aside from making the experience worse for all involved, you are also competing with actual robots, i.e. competing on speed, price and consistency, which is not a great place for a human to be.