On BBC Radio1 and more recently other channels have been moaning about not being allowed food or drink in their studios.
I know its stupid but in the UK you could, if it was a jobsworth cop, get charged for at least driving without undue care and attention if you decided to take a sip. If you crash that's dangerous driving.
If you damage company property say a laptop by soaking it in coffee, it's an accident... Until someone decides it isn't.
I drink coffee at my desk and while driving, doubt it will damage anything that will make the car fail the MOT.
I wouldn't take it in the server room though.
If I was flying a plane... May as well allow smoking as well, used to be fine and sure there is mostly no harm to the equipment.