Tesla shares extend gains over S&P speculation