Some of the nation's best-known companies are grappling with the fallout from explosive disclosures from whistleblowers—pain that's likely to throb for years and result in tens of millions of dollars in legal fees.