Brex built a finance stack and learned to choose its customers. Rippling built a workforce system and turned spend into one more reason to stay.