NEW YORK — E-commerce giant Amazon ditched plans to build a new headquarters in New York City, citing opposition from some state and local officials. Amazon has a market cap of about $800 billion and is run by Jeff Bezos, the world’s richest man. The opposition partly stemmed from plans to give the company nearly