For decades, becoming a public company represented the ultimate milestone for ambitious businesses. That's not always the case anymore.