Tesla Inc beat expectations for deliveries of its Model 3 sedan in the second quarter, a performance that could ease concerns about demand for the new electric sedan.