Cities are jockeying to offer the best deal for Amazon, hoping to lure more jobs and infrastructure development.