Pennsylvania landed a rare manufacturing expansion that merges public financing, automation and clean-energy design, potentially remaking the region’s industrial future.