We've long known D is an essential component of bone-health and the immune system, since it was noticed a century ago that tuberculosis patients that went outside in the sun had better outcomes. Known to prevents rickets too.
The fact that some have tried to apply it to heart disease or asthma, or random unrelated ailments and failed is immaterial, no?
The fact that the benefit of supplementation is strongest for those with the weakest levels is not particularly surprising either.
We also know that the body can make adjustments when nutrients are low in the short term, and that can mitigate some issues and pose unintuitive outcomes in such a time frame.
Bottom line, do we want to face Covid/Flu with an immune system at full strength, or one with one arm tied behind its back due to a deficiency?
Finally, given that a large majority of folks are D-deficient, and few can or will overdose, this push back (on HN and this piece) to warn folks that it is useless/dangerous (on the whole) does more harm than those recommending it, in my opinion.
Moderation continues to be the best path, and a number of studies linked here support benefits of supplementation for bone-health and immune system, but those things only. Don't overthink it.