Blue Apron shares barely moved off their IPO price. But if Amazon hadn't bought Whole Foods earlier this month, the company might have seen an even uglier market debut.