Type wise speaking Mega Garchomp is better because it has ground type which is stronger against rock type tyranitar. Ability wise the mega Garchomp has ability Sand Force which boosts the power of certain moves namely rock, ground, steel type moves in a sandstorm.