Well part of it is the cost of reverse engineering - it's a lot more expensive for Nikon to make lenses that will work on Canon than it is for them to make lenses on Nikon.
I'm not sure about "a lot". Once the engineering is done, the information is relevant for all lenses (see Sigma, Tamron, etc). Also: inventing your own format is a lot of work and money.
Also: if Nikon could get 50% of Canon's lens market, they would double their sales. That would seem compelling.
The smaller a market share a company has, the more compelling that becomes.
But an even bigger part of that would be the marketing nightmare it would create. Imagine if Toyota started manufacturing add ons for Chevy. It would be like Toyota admitting that Chevy is a superior product, and that you might as well buy a Chevy - when you do you can still get all the cool Toyota add ons.
Toyota does use industry-standard wheel mounts. They use almost-standard radio mounts (less so these days). They use bluetooth, not requiring proprietary phones. Indeed: while not designed specifically for it, there a many parts that could be exchanged between the right Chevy and Toyota. Toyota has even built entire cars for GM (Geo Prizm, for example, was a Corolla).
But by-and-large, cars are not IC camera because they are not designed to have interchangeable parts. Toyota isn't really interested in selling you radios one way or another, so why worry where their radios can be installed? Indeed: Toyota parts aren't interchangeable between Toyotas (generally).
Note, however, that Toyota does not require toyota-only roads to run on. They do not use radically abnormal control layouts.
Fuji, Sony, and Samsung *do* want to sell you lenses. Why limit where you can use them?
Also making software run on multiple platforms is not for the most part an easy task, it generally tends to make it a lot more complex and a lot harder to maintain.
Depends on a great deal, but not really my point. My point was: you'd write for a popular OS rather than invent your own, not just because it's easier, but because you want an audience for your photo-editor, and few are likely to switch OS's to get it.
As to why Canon or anyone else makes multiple lens formats, well if my 70-200 mm F/2.8 lens that I use pretty regularly would work on both the camera body I currently have and the newer mirroless system, I wouldn't need to buy new lenses for it. Since Canon, Nikon et al do their market research they realize that a lot of people who are buying the newer mirrorless systems already own a DSLR.
That wasn't really my question. I understand why there are multiple formats. The difference from EF to EFS to 4/3 is pretty clear.
The question is: Why is Sony using NX rather than 4/3? Same sensor size. Same flange (or close enough). Why is Canon using EF-M rather than 4/3? Why is Pentax using K rather than EF?
Plus there are some other engineering issues to boot, including the distance the lens is designed to be from the focal plane - which is a deal breaker for lenses. They have to be at that specific distance, and there isn't a big margin for error there - so as a result in some cases you can't really make some lenses work on other mounts without additional glass to resolve this issue, and of course a host of other issues such as how the lens communicates with the camera, etc. Throw in how the various companies differ on autofocus systems and controls - well, frankly it just wouldn't be very cost effective to try and make your proprietary lenses work with someone elses camera body.
Yes. That's why, having invented and built the NX format and cameras they aren't ret-con'd; but why invent NX at all when 4/3 was already there and already had an audience.
If it were, they would have started doing it already.
I'm doubtful there... Though Panasonic and Olympus did exactly that.
If you want to sell bodies: having more lenses available is an advantage; so use a connector with a large lens base.
If you want to sell lenses: having a large number of users of your connector is an advantage; so use a connector with a large number of body-owners.
Put another way: If I were to make "Jerry's uber body" tomorrow, because I wanted to sell bodies. I could put a lot of money into developing a connector, and then make a bunch of lenses, and then I'd have to convince people to abandon their entire existing collection for a format that might be dead next month.
Or.
I could build my uber-body for Canon, spend a little money figuring out an EF connector, and then already have hundreds of great lenses and convince people that my body is the best one. Even if I never made another, they'd lose nothing for the investment.
Same thing with Jerry's uber lenses.
I'd be stupid to make up my own connector and be proprietary.