There isn't any mention of Mazda model years in this thread. It's still the case across the industry that the first year or two of a new generation of a model is likely to have some issues, particularly with the electronics, even Toyotas. Lexus might be an exception, but Lexus owners will tell you those vehicles tend to trail others in introducing new whiz bang technologies whereas the Germans will throw it at you to beta test.
Anyway, a common problem in a 2017 CX-5, first year of the generation, may be rectified by 2019. Of course if they just happened to go with a new mirror system mid-generation, or something else new mid-generation, that could be a problem. However, generally if not universally, issues decline as the generation ages, particularly with Asian makes. Some others seem to have a hard time leaning lessons. For me, this was one of the appeals of the 2020 CX-5, several years into the generation, particulary the drive train, and Consumer Reports reliability ratings bear that out.
Anyway, if Maza decided to buy Toyota mirrors It wouldn't be the first time a manufacturer gave up on their own technology and used Toyota's instead. Toyota's Aisan transmissions are used in some high end European models. Volvo, BMW and Mercedes are not going to tell you that. Going downscale from there, Toyota's CVT transmission is the only one of that type I'd consider; they've been refining that for decades since the Prius first came out.
That brings to mind another appeal of the 2020 CX-5--no CVT, 6 speed instead, along with a conventionally aspirated engine instead of a small turbo some manufacturers like Honda are using in this class. The 2020 CX-5 has a combo tried and tested for billions of real miles. I wouldn't touch a Subaru turbo with a ten foot pole. And if you want to go 150,000 miles any turbo diminishes your chances. But I digress.