In the U.S., participation with these agencies is entirely optional. My understanding is that they offer access to government locales, equipment, and consultants in exchange for a positive portrayal. This would seem to me a fair trade, and one which the audience is able to perceive and assess.
In China and similar countries, good luck portraying the army in a negative light, whether you ask for their cooperation or not.