Nope, total Apple and Oranges.
Forbidding other HTML rendering engines on iOS, prevented other massive players (Google) from forcing their browser platform onto Apple’s user base and Electron-ized Apple’s ecosystem making iOS a marginal runtime.
Or worse, Adobe could have spun their own Adobe Flash app “now with web access too!”.
It’s not competitive advantage, it’s strategy