In its earnings release, the company also ended an agreement to sell electric vans exclusively to Amazon.