While SQLi is still quite common, the use of good libraries and prepared statements even in PHP has increased a lot say in last 10 years, the % of projects / services on which SQLi was possible should have also reduced.
In that HN thread you talked about someone had mentioned till sometime back even the official docs used to have examples with SQLi, which of course they don't anymore, making it slightly harder for junior devs to make those mistakes, each step is improvement.
I am not saying they already solved, I am saying it becomes harder to hack with some techniques over time as defenses become more standard and best practices become actually common place.