They might be both cameras, but one is a from a camera company, the other from an entertainments company.
Now Leica has dropped the ball a few times since they went digital but they still are miles ahead of Sony when it comes to cameras, imaging, customer service and vision.
Disclosure: I'm far from a Leica fan, wouldn't touch them with a bargepole either.
I couldn't disagree more on the bolded parts.
In the area of photography I work big SLRs are the norm, many of us are sticking with a brand because we're invested in lenses, but even there the Sonys have been making inroads.
Imaging wise, Sony sensors are in the world's top FF cameras, the big Nikons (I say this as a Canon user) and the a7 series, are all Sony sensors, they're fantastic, and Sony has been really pushing up the ISO envelope too.
It's possible to say that they should have much more in the way of lenses and less bodies, but they seem to pick a particular purpose for each body and push each of them forward, I believe they just filed a curved sensor patent too. They definitely have vision.
Leica on the other hand, (and I say this as a Q admirer) everything they release is about a year or more behind the other companies in terms of capability, and they rely on their reputation and the "precision" and "porsche" comparisons, when honestly, on the wider stage, their products aren't competitive.