The developer of a Lakeview apartment building that opened in 2020 has cashed out for a little over $40 million.