The trove shows how Chinese security services promote rivalry between private hacking companies, spurring them to target foreign governments and institutions.