Tesla Motors shares surge after hours on earnings