Apple obviously doesn’t care about market share. If they did then they wouldn’t have quit making Safari for Windows.
They may not care how Safari does overall versus Edge or Chrome but they certainly want to keep usage up on Apple devices as they make a lot of money from having Google as the default search. If Safari usage started to drop off too much, those payments would start to drop too although I suppose they might then go to making Chrome the pre-loaded/default browser.