Facebook has shared users’ private messages, contact information and other personal data with companies such as Microsoft and Spotify, according to a New York Times report that was alarming even in light of previous disclosures about the social network’s practices.