Momentum has turned in tech stocks and investors awakening from dreams of artificial-intelligence nirvana are back to a less grandiose concern: When will the selling stop?