France’s Total SA, one of the world’s largest oil companies, sent its top executives to Silicon Valley last summer, where they met with tech investors and futurists. At Tesla Inc.’s Bay Area factory, a Total executive tweeted a photo of a gleaming, red Model S—an electric car that burns no oil products at all. The trip was meant to “open their minds,” said Total Chairman and Chief Executive Patrick Pouyanné. Total, like its…