Yes, both stepped over the line trying to anti-competitively make their browser dominant. Everyone had an ostensible choice to not use Chrome but if you spend enough money to be pre-installed, bundled, advertised, etc everywhere, you can take over. Good old fashioned monopoly tactics, right?
Apple took the novel, and IMO far more disturbing and reprehensible, approach by simply not giving anyone any choice. Since then, we've seen a huge expansion of DRM, integrity checks, eFuse, etc to strip everyone of their freedom. Companies got a taste of that sweet total control with iOS and wanted more.