Palantir is a profitable AI software company, but government contract quality matters more than headlines.