After years of criticism and financial risk, Palantir, Anthropic and small start-ups are generating rewards from their investments in defense tech. Credit...Photo illustration by Max-o-Matic Supported ...