Really, Price is the only thing you can compare.
If you want complete luxury: S-Class, A7/A8, or 7-Series are going to be decidedly better in every way, at a similar price bracket. To be honest, Tesla doesn't even compete in this category.
If you want the status symbol: Maybe Tesla is the best. You'd also probably be cross-shopping a Panamera or maybe an XJ.
If you want performance: The best will be an E63S, RS5 (kind of a different category), or M5. A P100D is stupidly fast off the line, but most enthusiasts don't put it in the same class as high-end german performance cars due to driving dynamics and the price. It gets an honorable mention.
If you want tech: Tesla, Audi, or the Cadillac CT6. Tesla wins on automated driving, but Cadillac isn't far behind at all. Audi has some of that, but their interior tech is easily on-par with Tesla when you option it out.
If you want all of them: You'll need to go upmarket. The RS7 would qualify, especially the refreshed 2019 model, but really you'll have to enter "optioned out Porsche" territory ($150k+) and even then you'll make sacrifices in the tech department.
There are a few generalities you can make, though: First, BMW isn't as competitive as they used to be. MB and Audi have recently started outpacing them in most categories. Second, Tesla definitely isn't competitive at its price bracket without tax incentives, unless all you care about is how other people perceive you, which can't really be quantified like the other categories.