Which is better comes down to personal preference, because the two games are asking for different things.
Medieval II: Total War is a hybrid. The campaign plays out turn by turn, but when armies meet you drop into a real-time battle and command them directly. That shift is the whole appeal: you are not rolling against a resolution table, you are actually deciding the fight with formations, flanks, and morale.
Civilization IV is strategic in a purer sense. There is no real-time component at all; everything is a decision made at your own pace across diplomacy, research, city management, and military planning. Its visuals are less detailed than Medieval's battle scenes — more stylised and animated — but perfectly acceptable for a game of its generation, and the art style has aged reasonably well.
If you want to fight battles, take Medieval. If you want to build a civilisation and out-think the map, take Civ IV — and I would go for the newest version, Beyond the Sword, which is the most complete expression of it.