If giving out unnecessary prescriptions isn't stopped, the entire foundations of modern medicine could be undermined, doctors warn.