General Electric Co. plans to invest $31 million in its Lynn plant as part of a larger effort to bolster its existing U.S. manufacturing facilities this year.