The NSA and those organization's aren't usually making the products like Google is they are usually contracting it out. It isn't the companies doing the work incarcerating people in either case, it is simply that when the user of the product being sold is the Government they have that power.