I'm not missing the fact that an expensive power cord adds to cost.
I am extremely skeptical that the power cord supplied with a Marantz Ruby, to continue the example, is a detriment at all to its audible performance.
Hey, if it makes one feel better to swap out a cord to a more expensive one, well then do it and feel better. That's fine, I guess... but I don't believe it's a wise efficient use of funds when it comes to upgrading for sonic performance, unless it's the one thing that would make one feel better, sleep better, whatever, and that's on you and it's fine.
However, I stand by my overall message of high skepticism, except maybe in extreme cases of crappy or lower level products in the first place but then why would anybody invest more into an inferior poorly-designed overall product? If the power cord is a problem, why would you trust the product or the company in the first place?
I suppose one possibility, but it would be a relatively rare one, is if there is some extraordinary electrical weirdness in your home and you need some sort of super shielding, but I've lived in many places of this country in a variety of towns and cities and have never seen it personally except for one house where I had subwoofer hum. And, if you do detect weirdness, try just plugging in to a different plug, which is a simple solution that instantly solved a subwoofer hum problem that I used to have when watching TV. I just used a modest "indoor/outdoor" extension cord of adequate length to get the subwoofer onto a separate circuit in the house, a plug controlled by a different breaker than the TV was on, and voila, problem solved.