You're also missing the power of reputation. It takes time to build a good reputation, and it takes a really long time to overcome a bad reputation. MS built itself a really bad reputation, especially with browsers, so even if (hypothetically speaking) Edge were as good as Chrome now, it would still take a very long time to overcome the terrible reputation they earned with IE.
Apple doesn't have this problem.