Here's a story that bucks the idea that the tech industry is selfish and myopic: A technology start-up raised more than $20 million this week to help low-income Americans, including the elderly and the homeless, access basic health services.

Cityblock Health, which spun out of Alphabet's urban innovation unit, Sidewalk Labs, will use its funds to open up or partner with community health centers in Brooklyn, New York, and other urban hubs across the country. That's coupled with the development of a technology product, which it calls Commons.

It aims to treat low-income patients who qualify for Medicaid, which accounts for about 1 in 5 Americans, including many with complex and costly needs.

Its team includes a mix of technologists from companies such as Google, as well as nonprofit and community health experts. The company named to its board some big names in health and technology, including former CMS administrator Andy Slavitt, Rock Health co-founder Halle Tecco and Cloudera co-founder Jeff Hammerbacher.

Alphabet subsidiary Sidewalk Labs is moving ahead with its own plans to redevelop Toronto's waterfront, an effort that will include sensors and other technologies.

Cityblock was initially based at Sidewalk's offices, but will now operate as an independent company.

Cityblock isn't yet treating patients. But Iyah Romm, the company's CEO and co-founder, explained on Wednesday that the company is hoping to provide a range of resources, including social services, access to affordable housing and more.

The underlying premise is that these individuals need more than just medical care to stay healthier for longer and cut down on trips to the emergency room.

Romm said he started the company because very few health-technology start-ups are focused on Medicaid patients. The vast majority are targeted to the so-called "worried well," who are already fit and healthy but looking to optimize their health.

The company will make money by taking on risk for these populations and delivering better, more affordable care, it said. Its model involves improving outcomes rather than reaping revenues through costly tests and procedures.

The funds come from several investment firms, including Maverick Capital Ventures and Thrive Capital. Sidewalk Labs was also an investor.