Madred's is a very bad item to be honest - Here's why
4% of opponent's health, take a typical tank for example: 3000 health, 4% of 3000 is 120 damage. Seems nice right?
Wrong, most champions would have about at least 100 MR now, so your 120 damage goes to 60 or even less, depending on if the tank has built MR or not, a typical tank would have about 150 MR, which means magic attacks do 40% damage on them, which translates to 48 magical damage
In comparison, a Wits end, being much cheaper, does 42 magic damage, which, after deducting resistances, is about 21 or so magic damage. Plus it is cheaper to build.
If you ask why I'm taking a tank for example, is because only tanks would have the 3000 health needed to make bloodrazor effective, an AD carry with about 1800HP(just estimating) would take 72 magical damage, in that case you are better off building damage itms.