The longtime owner of a 266-unit apartment tower in Atlantic City has sold the building for $17 million, in a newly announced transaction by Marcus & Millichap.