Amazon planned to establish a last-mile distribution center near the MBTA Red Line Andrew station in South Boston.