Once down in the weeds, cash-strapped pot producers raise billions in market rally