Nvidia Corp.’s stock is sinking toward its lowest levels in months as the artificial-intelligence trade continues to unravel.