Tesla also said that using non-GAAP information that excludes some items, such as stock-based compensation and non-cash interest expense, it earned $17 million, or 12 cents a share on an adjusted basis, beating analysts' estimates of 6 cents a share.