If you are short on reliable Fighting-types, Water and Ground Pokemon are effective back-ups to use against Mega Tyranitar as well, even if they don’t inflict as high an amount of damage.
Dreepy and Frigibax - two rare Dragon-types - can be hatched ... collection - or indeed powering up the Pokémon you already have. Aside from the Egg charts above, there is no way from the outset ...