The pros who have been spotted drinking coke don't do it every match.
They only do it when they need an instant energy boost. Besides Coke, they still continue to rehydrate themselves with water or sports drinks with electrolytes etc.
I think the Bryan Brothers eat some glucose gel during their matches. That's to give them energy boosts as well.