Tesla reports fifth consecutive quarter of profits while energy stocks take a dip.