The joke is a pun. The iced, brewed, beverage may in fact be tea.  'Tea' sounds identical to 'tee' which, in golfing is a holder that sticks in the ground to rest a golf ball on for hitting with a golf club.
Before the golfer finished drinking the iced , brewed beverage he dropped his tee on the cart path .