Palantir shares fell Tuesday to extend a swift decline from recent record highs amid investor concerns that the U.S. government could cut spending on the analytical software company's services.