Treasury said the mass departure of federal workers, President Trump's immigration policy and artificial intelligence are all impacting the labor market.