I promise you, the U.S. government is already using AI just on the basis of vision tasks alone. Automatic target recognition is quite popular and has been for quite a while. It will not go away.
For domestic surveillance concerns, there's a thousand and one companies out there already servicing the U.S. for quite a few decades already. I don't see why these companies should not have competition in the form of Palantir.
It's in the interest of government to have surveillance both domestically and internationally. We will not see a change in this stance from any significant party. I would bet cold hard cash that if anything, surveillance will increase in budget between any makeup of Democrat or Republican congress for the next 50 years.
I'm right wing by all standards by the way.