Basically this is someone who was a master in their field, but they're now behind the times as they haven't been able to keep up with advances in the field. Particularly using newer technologies. This can be done in three ways:
They become a mentor to the hero, teaching him ancient and powerful techniques to supplement (or replace) his arsenal.
They allow for An Aesop on not getting over-confident or complacent, by dying or getting Put on a Bus when the modern techniques they needed could have saved them.
They still remain awesome, despite (or because) of forsaking the advances. Sometimes the old method is supplanted by an apparently-more-powerful new method, but the new method has a terrible curse that leads to its ultimate defeat or rejection.
Master Roshi is a prime example of this. At the first World Martial Arts tournament (the second major storyline), he knew that would happen at the rate Goku was going at. By the first saga of /Z he had become absolutely worthless, while almost everyone else had at least another season or two before that set in. Lampshaded by himself during the Cell arc - seeing how everyone else can at least try to help while he just watches, he muses about the time he was "Muten Roushi, the strongest man in the world" He also realizes this in the last world tournament of Dragon Ball and he's filled with pride when he sees all his students have surpassed him, saying he has nothing more to teach them.
King Kai also becomes this after the Saiyan Saga, though he's still a good source of information.
One of the themes in Naruto is that the younger generation will eventually surpass the older one and will also protect the even younger and unborn generations so that they can take things over in the future. A good example is Naruto himself. He's taken the Sage training of his mentor Jiraiya along with the Rasengan created by the Fourth Hokage and enhanced them using a specialized training method involving Shadow Clones, a jutsu we later learn his mother was fond of.
In Accel World, Niko was brought into the Brain Burst game by an older boy in her orphanage. However, her avatar Scarlet Rain soon surpassed his, becoming one of the few Level 9 players in the game, while the boy's avatar, Cherry Rook, lingered at a lower level. This, and Cherry Rook's desire to catch up, led to tragedy when he became possessed by the Chrome Disaster, necessitating Niko to remove him from the game entirely via Mercy Kill.
Kiritsugu in Fate/Zero is able to overcome some very tough magi and in fact assassinates them for a living. Why? Because, in the words of magi themselves, science goes towards the future and magecraft towards the past, so they shun technology and the advantages they can give.
In Big Fat Liar, the stunt-coordinator for the movie was one of the first and best in his time, but now he's out of a job. ("That stunt looked impressive when I first saw it IN 1945!!!") This actually turns out to be a Chekhov's Skill.
Robert Duvall was the mentor in Gone in Sixty Seconds (2000). He was still effective in his field, but had to contend with younger, more hi-tech thieves in the crew. One of them showed off his fake fingerprints: the mentor still preferred gloves.
Of course, he also had a lot more common sense than the younger thieves, acting as Team Dad for the crew.
Jimmy Dugan, Tom Hanks' character in A League of Their Own, is a combination of the Cynical Mentor and a variation on this. In his case, Dugan was rendered obsolete not by time or technology but by injury; he tore up his knee fleeing from a fire which he himself started while roaring drunk.
To Crabbe and Goyle from Harry Potter, Draco became this once the pair of them discovered their unique penchant for ruthless torture, and the Malfoy's name became mud with The Dark Lord.
In one of the prequel series to Dune, the School of Sword Masters exemplifies dedication to physical skill, spiritual balance, and a code of honor. At the end of a main character's training with them, their school comes under surprise bombardment and invasion by a mercenary force avenging a student they'd rejected on moral grounds, and is rapidly destroyed. Despite the masters (at least mostly) surviving, and vowing to rebuild and correct the mistakes which led to this, they do drop out of the story at that point.
Due to having been born in 1900 DCI Nightingale from Rivers of London sometimes falls into this trope when it comes to modern police-work and technology. When it comes magic though, well this is a man who personally blew up two attacking Tiger Tanks in WWII on his own.
An episode of Scrubs had Kelso forced to fire his best friend as he couldn't keep up with advances in medicine.
An episode of Murphy Brown revolved around Murphy's sadness at seeing her former mentor become this (for example, despite the show being set way into the 90's, said mentor believes telex machines are still used).
On Star Trek: The Next Generation, Scotty had been stuck in a transporter loop for over 70 years. He was able to help Geordi with their current adventure despite being decades out of date.
Of course, Scotty literally wrote the book on all modern-Starfleet engineering, but freely admits to padding his estimates and withholding surplus power to look good. Basically, the reason Scotty is still a master is because modern Starfleet stillhaven't figured out that by following Scotty's bible, their starships are actually kept from being half as powerful as they should be.
His justification for doing so ("A good engineer is a wee bit cautious, especially on paper.") is accurate Truth in Television, however. When writing the manuals or design specs, one always wants to err on the side of being cautious with the safety margins to prevent damage to operator or equipment.
On 30 Rock, Liz received mentoring by a woman who wrote television in The Seventies (played by Carrie Fisher). Her bold, boundary-pushing writing style was too much for the modern, corporate-controlled NBC. Liz ultimately abandoned her after seeing how her life had ended up.
Corporal Jones from Dad's Army: Respected as a soldier who served under Lord Kitchener in the Sudan, but now a confused old fool.
There was an Outer Limits episode about a librarian who couldn't connect to the mind-linked Internet of the future and was looked down on for actually reading books. Of course, when the network went haywire, he was the only one who could help.
On Mad Men, Freddy Rumsen is the one who discovers Peggy's talent as a copywriter at Sterling Cooper and is a source of avuncular support, and she's crushed when he gets fired because of his alcoholism (and guilty that she gets promoted as a result). So she's very happy when he arrives at SCDP years later, but by this time, she's no longer a newcomer in need of a mentor, and she has to tell him his ideas are too old-fashioned for the new agency and the changing times. (Don's slipping grasp on the culture and the threat it represents to his work is also increasingly a theme as the show goes on.)
Trauma Center: Under the Knife 2 introduces the Hands of Asclepius, a rival medical institution to Caduceus which used a combination of Derek Stiles' performance data and performance-enhancing drugs to mass-produce surgeons armed with Derek's Healing Touch. After Derek is unable to save protege Adel Tulba during his Heroic BSOD, leaving his operation to someone else, Adel resigns from Caduceus and joins the HOA, becoming one of their unnaturally-empowered super surgeons. As the game proceeds, Caduceus is pushed further and further into the background as the HOA gains prominence; however, it's soon discovered that their progress comes with a terrible price: the performance-enhancing drugs are actually a new strain of the deadly GUILT, and every single one of HOA's super surgeons becomes a half-crazed walking time bomb.
This is zig-zagged a bit during Fate/hollow ataraxia, however, with the presence of Bazette and her Fragarach. Though Bazette is a very gifted combat mage, Nasu still stated that Caster would cream her in a fight, since while Fragarach is an instant kill attack, it can only be used to counter an opponent's "trump card", and Caster is too well-rounded when it comes to spellcasting to make her vulnerable to it.
According to legend, when Leonardo Da Vinci (as an apprentice) was finally allowed to paint part of one of his master's works (in those days artists would have assistants and apprentices do at least some of the work for them) his master was so impressed by the result he gave up painting on the spot.
Sports punditry and analysis. Oftentimes the old guard (usually former players) find themselves less able to assess games in which the "style" of play has changed over the years. Alan Hansen, football analyst and former Liverpool player, has been criticised for analysing football as if it's still the same game he played back in the 70s, while Gary Neville, who only retired from playing in 2011, is receiving extensive plaudits for his punditry because his knowledge is that much more up to date.