The Japanese cryptocurrency exchange Coincheck says roughly $400 million of the digital currency NEM was stolen. If banks and others are to invest in the digital-asset industry, it will have to do better.