Something similar to cigarette package warnings, like "this food interacts with many medications, please read the leaflets carefully".
The important thing is for your doctor to be aware, and notify you.
Also, grapefruit is nowhere near the only food that can have terrible interactions with certain drugs.
I was entirely ignorant about them while buying grapefruits and juice for decades.