Bed Bath & Beyond has warned that it could seek bankruptcy protection as it quickly runs out of money and sales shrink.