Not giving the NSA root access to your servers and to everyone's data should also help.
If you care about your data you are basically only able to secure it if you host it yourself.
It's important that people also don't fall into the illusion that their Infosec skills can match that of google/apple engineers. These guys are some of the best there is.
It's pretty revolting, but my assumption is that if the US government _really_ wants your data, it's virtually impossible to block all the vectors they have to get at it.