An online grocer is taking more than 50,000 square feet of newly built industrial space in Edison, under a transaction announced Thursday by Lee & Associates New Jersey.