Amazon named 20 finalists in the race to win its second headquarters Thursday, narrowing the pool of cities and states competing to secure an expected 50,000 jobs and $5 billion in investment.