A dog drinking water may look like pure, uncoordinated chaos, but what looks like a disaster is actually a masterclass in physics.