For me the tooling is really the best out of all rdbms's for the developer tools ssdt provides a full api to query and create t-sql like rosylyn but for t-sql:
https://the.agilesql.club/blog/Ed-Elliott/2016-01-07/What-Is...
https://the.agilesql.club/blog/Ed-Elliott/2016-01-07/What-Is...
Also, don't forget that many companies started with it as part of the Business Server suite and so all their software was built around it for little cost of the database itself. Then they grew into it.
I have spent a long time working in and around it, and respect it overall. Personally, I have moved a lot of clients out of SQL Server into more cost effective solutions when they have grown to a point that the licensing cost will outweigh the need to re-architect their system. That usually happens when they realize they need robust replication or a distributed solution which will take some architecture work anyway, and why pay MSFT huge licensing fees and architect for it when you can move to say Postgres and save the licensing fees, just as an example.