The billionaire owner of Meta said in federal court that his company’s social networks weren’t just about friends.