Palantir CEO Alex Karp said the rise of competing AI models such as China's DeepSeek signals the need for the U.S. to speed development.