Widespread legalization seemed like a doorway to success for cannabis companies. The reality has been a lot harsher.