Palantir and BigBear.ai are artificial intelligence (AI) stocks involved in the defense industry. Both companies are also working to move beyond the U.S. government. Two of the leading artificial intelligence (AI) stocks over the past year are Palantir Technologies (NASDAQ: PLTR) and BigBear.ai (NYSE: BBAI).