Instacart, readying an IPO, is a rare gig-economy company to turn a profit