One of the solutions is to move to a model where all data that companies like google have in their servers is encrypted by a key that only the user has in his device.
The side effects are:
-No server side analysis/logging/sharing/selling to advertisers of the user's data
-All decryption takes place at the client side
-Targeting ads/content becomes impossible
-gag orders are rendered useless to seek user data from service providers
-Privacy