The party is over for cannabis companies.

Share prices of marijuana producers tumbled last week, some by nearly 40%, after a string of disappointing quarterly reports and mounting skepticism about the industry’s rosy growth forecasts.

Among the news this week: Two U.S. companies scrapped a merger initially valued at nearly $700 million. One...