SpaceX and Palantir now have bigger valuations than top aerospace-defense stocks as the military eyes transformation