There is a book, the people’s republic of Walmart.
Basically every company with sufficient money does exactly this and they are very effective at it. Just what if instead of using the tech to make Walmart slightly more money we used it to make some public goods cheap and effective