The electric-vehicle maker’s stock is set to post its worst first half ever with a 35% plunge that eclipses the S&P 500 Index’s 20% decline. But rather than the selloff dimming Tesla’s allure to Wall Street, analysts and investors say wiping out $350 billion in market value presents a buying opportunity.