Last month, tech companies laid off about 50,000 workers, many of them immigrants on work visas. Now they have to find a job soon or leave the country.