Tesla Inc. late Monday beat Wall Street expectations for its second quarter, with sales nearly doubling and the Silicon Valley electric-car maker calling for an “inflection point” for EVs.