Eh...I own a Model 3 and I would not consider the Model 3 or Model Y (Which is essentially just a slightly larger Model 3 with a hatch) to be luxury cars. It's a nice car, for sure, but I wouldn't call it luxury.
Underlying cost doesn't matter to markets when it's priced the same as luxury cars. It's the same customers with the same disposable income and different expectations than mid-range.