A company called Express Biker has created a self-serve vending machine that sells bike parts around the clock. The goal is to help cyclists who might be riding late at night or far from bike shops, basically times and/or places where getting a flat tire (for example) would be very inconvenient. The vending machines will sell things like tubes, lights, co2, patch kits, various tools and parts.
There are already two machines in function in Brooklyn: One on the border of South Williamsburg and Bedford-Stuyvesant at the Emporium Gas Station on Flushing Avenue, and one at the Mobil Gas Station at 415 Empire Blvd. a few blocks away from Prospect Park. They want to partner with outdoor locations near major bike routes throughout NYC that are open for 24 hours, such as gas stations, parks, etc.
It reminds me a bit of this free-to-use bike repair station, though this one only has tools and an air pump (these should be everywhere, in my opinion):