The Hampshire Cos. has made its first investment under the federal Opportunity Zone program, acquiring a parcel near Hackensack University Medical Center that it will redevelop as part of a joint venture.