General Electric formally scrapped its plans to build a 12-story headquarters office tower on Boston's waterfront as the maker of products ranging from light bulbs to aircraft engines cuts costs, opening up a key piece of real estate in one of the hottest areas in the city.