In a move that evokes the company towns of the early 1900s—when then high-tech heavyweights like Pullman Co., Colt, and the Mark Steel Co. designed communities with cutting-edge amenities built around factories— investors are launching partnerships with some communities’ health care systems to create pilot sites for the startups in their portfolios.