There are fresh concerns about the security of bitcoin and other virtual currencies after NiceHash, a company that mines bitcoins on behalf of customers, said it is investigating a breach that may have resulted in the theft of bitcoin valued at about $70 million.