Neither is better in absolute terms; they are better at different things. Rome: Total War is faster, its battles are larger and more chaotic, and its multiplayer community stayed active far longer. It is also less concerned with historical accuracy.
Medieval II: Total War is the more considered game. Factions behave more plausibly, the campaign map rewards longer-term planning, and the AI, while hardly brilliant, is a step up. Its multiplayer scene, however, largely emptied out years ago.
So the choice is simple. If you want to jump online or prefer big, quick battles, Rome. If you play single-player and care about the campaign, Medieval II. Both are inexpensive and both still run well on modern systems.