Nvidia shares fell sharply on Wednesday and have lost about a quarter of their value since hitting a record high in January.