You think the owner is taking the cash to the bank?? Unless they are an one-person operation, they likely have an employee do it (among their other duties).
Transporting and handling cash is absolutely not free, and unlike joe sixpack taking out $20k in a stack of benjamins that one time to buy a motorcycle with cash, it's much worse when
a. a lot of it is coins, so it's heavy and bulky, and
b. it becomes a regular thing that everyone on the street observes you doing over and over
I'd say employee theft is the only reason a coffee shop would be "no-cash", and fear of robbery in a few places.