Instacart is losing ground to rival in-house delivery options at Costco, Sam’s Club, and others — and it could hamstring its IPO ambitions