They’re both extremely useful for different things.
Machamp is the champ when it comes to gym clearing and dynamic-punching Tyranitar raids.
Tyranitar is king when it comes to Mewtwo and Deoxys raids, and soon to be an assortment of legendary Psychic types when gen 4 drops.
Tyranitar’s legacy moveset is at the top of the rock-type charts, but with the Birds gone its usefulness is slim right now.