Those are totally different things. Google and Facebook do /not/ sell your data. The reason they're valuable is they don't sell your data, that would mean everyone else has it!
They rent out your attention span by providing you a service and then showing you ads.