Wall Street’s superstars are tumbling as a competitor from China threatens to upend the artificial-intelligence frenzy they’ve been feasting on.