Tesla races past estimates to achieve its second straight quarterly profit