Facebook Inc beat analysts' estimates for revenue on Wednesday, even as the world's largest social network agreed to pay a $5 billion fine over data privacy and announced a U.S. antitrust investigation.