NEW YORK (AP) — FireEye Inc. said Thursday it has acquired Mandiant Corp., the firm that linked years of cyberattacks against U.S. companies to a secret Chinese military unit.