CIA does invest in companies - Google got funds from them when it was a startup. But the US intelligence services no longer needs to "own" or "operate" any computer tech company in the US. US laws allows them to ask for any information they want under "National Security", and US citizens / companies operating in the US cannot refuse. I also remember reading that they can also force access to any data centre to place and connect their own devices / servers and do whatever they want with the data they collect.