The year-end plunge in cryptocurrencies has rattled companies that had bet heavily on bitcoin, sending share prices tumbling.