E-commerce giant Amazon said it backed away from a lease for a warehouse conversion project east of downtown Los Angeles in a last-minute decision reached after the developer and city agreed to make the development more environmentally friendly to settle a lawsuit.