What the NSA has are three things: a lot of money coming in every year; a lot of relatively intelligent and highly skilled people working for it; and a license to do terrible things and get away with it (ie they can take incredible risks, and try outrageous things, with minimum concern, and or certainly previously could).
The NSA has a budget roughly the size of Microsoft's annual R&D budget, without needing an $80 billion highly profitable business to be maintained. It's amazing what you can do and or attempt with a 'free' $10 or $12 billion per year to burn.