Immigration and Customs Enforcement and Citizen and Immigration Services have spent $7.8 billion on immigration technologies since 2020.