Cities are expected to engage in a bidding war to house Amazon.com Inc.’s $5 billion second headquarters.