NEW YORK — Shortly after news broke Thursday that Amazon was abandoning its plans for a campus in Long Island City, Queens, local elected officials and activist groups who had opposed the deal held a celebratory rally near the site where the company had planned to build its new offices.