A company like Amazon will have some natural needs. No other city can really beat NYC for meeting those needs.
Not Chicago. Not Toronto. Not Raleigh. Not Jersey.
And certainly not Texas.
By air, land, and sea the best and most bountiful transport links to the rest of the US, or to the Europe-Africa side of the world, are out of NYC. Now maybe we can change that? But we don't seem to be working towards changing it. So as of today, and for the foreseeable future, NYC is the best hub.