The private development firm alongside a California state agency that finances affordable housing projects acquired a high-end apartment building in Los Angeles County that they expect to use to cater to middle-income renters amid the state’s ongoing effort to increase its affordable housing.