This is how academic medicine has worked forever.
“Honorary” authorship is officially discouraged but is common and accepted as “one of those things” that everyone does.
And, it’s true that every once in a while there’s a young person who never could have done what they did without help from their lab chief but who, for whatever reason, insists on “no, I did it all myself”. That usually doesn’t end well.
I had a late friend treated for cancer at MD Anderson. The individual clinicians (often researchers) seemed excellent. But there was always the impression that the walletectomy was an important component of any treatment. And the same was true of everywhere else.