Doesn’t carmax take your car even if you don’t buy from them? If so just trade you car in there, and buy from Tesla.
I just took delivery of my 2015 CPO. To me the 4 year/50k mike extended warranty was very important. I was a little nervous about the car as the pictures were really bad quality...