Two Santa Clara apartment complexes with a combined total of hundreds of apartments have been bought.