If apple would just insist on taking it's cut from ads and indirect revenue from surveillance and spyware, so many of these problems would go away. Apple currently effectively subsidizes the surveillance of its users with adware and spyware apps getting free ride.
The only problem with this approach is that it's basically completely unworkable. But other than that minor issue, it's a great idea. Maybe the ad revenue side of things could be done, but the spyware side is hard to even come up with a theoretical valuation.
While it's theory only, one could even theorize gmail having to put a valuation on the user profile data gathered and give Apple a cut. Either that or stop surveilling its users.