Just as New Yorkers were absorbing Amazon.com Inc.’s decision to abandon a new office hub after tangling over $3 billion in tax breaks, General Electric Co. was beating a retreat in Boston, canceling plans to build an office tower and promising to return $87 million in government incentives. In...