A Boston real estate investor expanded its Nashville, Tennessee, portfolio with the priciest apartment deal ever made in that fast-growing Sun Belt area, a reflection of the appetite among investors for deals in secondary markets across the United States that analysts say could soon be curbed by higher interest rates.