Moved some operations abroad after a five-year regulatory dispute, dealing a blow to the nation’s efforts to attract investment in new industries.