Bed Bath & Beyond has been on the verge of bankruptcy but bought some time with a public stock offering that’s expected to bring in more than $1 billion.