This is exactly wrong. Legislators are supposed to intervene when an executive department comes dangerously close to breaking the law. This is doubly so for the military (Congress holds hearings on military action all the time, must authorize nonwar military action beyond 90 days, has special, stricter rules for military appropriations, etc.).
In this specific case, the idea that the US military academies are "autonomous" from Congress is kind of an unserious argument (or, at best misinformed). To get a seat as a student you must get a letter of recommendation from a sitting legislator. All of the generals and admirals, including those in charge of the institutions are required to be nominated and confirmed by the US Congress before they take their positions.