Beyond Meat has been struggling as it faces increased competition and dwindling demand for its plant-based meat products.