Bitcoin plunged sharply on Thursday night after Israel launched attacks on Iran, shaking global markets and prompting a flight from risk assets.