When Amazon announced last year that it wanted to spend more than $5 billion to build a second headquarters with as many as 50,000 employees, it sparked a flurry of studies as to which metro areas had a chance to win the business that would transform most economies.