Rocket Lab, RTX, and Palantir offer three different ways to gain exposure to space, defense, and military AI.