An $18.8 million apartment sale is the latest in a string of purchases before the year ends and the real-estate excise tax increases.