Swearing can lead to later charges of harassment and verbal abuse. Alcohol can lead to situations where conversations and/or moves can be later interpreted as sexual harassment.
Chances that an ex-employee (or a vendor, or a customer visiting the office) will sue a small startup for that are nearly nil - the litigation is too laborious and costly. Chances that a $230 billion corp will be taken to court are somewhat larger than nil.
Even if the plaintiff loses or settles the case, the media still has a field day with it.
Do shareholders of WMT want that liability?