Shares of Toshiba tumbled on Wednesday after the electronics conglomerate said it would book a $6.3 billion hit.