However, Google and other companies know something that others don???t: Rental and low-income housing projects are now among the most lucrative investments available, with businesses from Apple Inc. to Sherwin-Williams Co. buying millions in government tax credits used to finance affordable homes in Massachusetts and other states.