Implanting in pigs. And monkeys. And some guessing. I don't see how anything happens in just two years unless it's a tiny change to an existing product. For a number of items there isn't a 50 year need - either the patient won't live that long anyway or, like pacemakers, they will need replacement before then. The trade-off is that the patient is already in so much pain or so close to dying that the expected outcome doesn't have to be much better to be used.
For example, a buddy of mine had a knee replacement; he had been in some pain and they looked at it with a tiny camera and found that not only was the cartilage gone, so was the bone outer surface. He had worn through to the marrow. No amount of rest or physical therapy would ever fix that.
That said, some of the stories I've seen, particularly in hip replacement, seem stupidly naive. Recall the "metal on metal" versions? How is it reasonable to expect to replace a self-lubricating material like living cartilage with bare metal of any kind? And who fails to recognize that metal wear products aren't going to be broken down and removed safely?
It seems like a tough business. There's a lot of effort in the vast interconnected network of cells and chemistry that is dedicated to ejecting things that aren't part of the network even if the attempt is self-destructive via allergic reactions. Compound this with the ability of the neighboring parts to renew in the event of damage while mechanical substitutes cannot.
And there's enough demand for an answer, any answer, that there's a lot of room for quackery.