Facebook and/or Microsoft can choose to charge you for their content as well as serve you ads. Serving you ads doesn't exclude you from paying for content if that's that's what they choose to do. I believe there's versions of Kindle and other such devices that are cheaper because they have ads. Windows would be more expensive if they didn't serve ads.