Not everyone lives in countries where Apple prices are acceptable, even for regional developer salaries.
Ask Valve how it is going with Linux native games, or Apple with the Game Porting Toolkit.
Also that how Apple fans are so quick to forgive shanky keyboard and swelling battery experiences at premium prices.
Yes they are primarily iDevices company nowadays, which yet again isn't that big when looking into worldwide market share.
And their terminal is one of the very few that respect double-wide and double-height DEC modes, which work great for scripts.
Not everyone across the globe has the privilege of having corporate issued Macs, hence Windows rules the desktop, when their own wallets are asked upon.
In fact, many companies have laptops pools for macOS devices, mostly used during iDevices projects, only assigned to teams members if they are on such a project.
Or even the workflow of using cross platform frameworks like Flutter, MAUI, React Native and co, with a shared Mac mini for iDevice builds.
Those rough around the edges are unacceptable for a device that costs several month salaries above the competition.