Traditional Japanese martial arts frequently descend from Edo-period traditions re-organized in the Meiji era, and often focus on weapons training. Kendou for example, still focuses on heavily-armored warriors fighting with swords. I don't think that many people think this is preparation for a realistic contemporary combat situation so much as it is lived respect for tradition and knowledge. Traditional martial arts frequently have other goals, as with Morihei Ueshiba and aikido.
MMA tends to market itself as "real fighting", but it carries its own assumptions about the conditions of fighting. It would be as ridiculous to pit an MMA fighter against an armed and armored Japanese kendoist as against a WWII-era GI with a Tommy gun.