Bars are notable for staying open late, but I’m not really familiar with alternatives that might operate similarly. I think many cafés (at least around my area) tend to close a few hours earlier by comparison, which would be my go-to for an alternative otherwise, so what other options are there?
Bowling Alleys (some), late night museum tours, late night roller skating.
They all have exposure to alcohol still. But can be enjoyed sober.