Both games cover the same universe, but they deliver very different experiences, and the right pick depends on what you want from a Dragon Ball Z title.
Tenkaichi 3 is the safer recommendation for most players. It gives you far more freedom of movement, a deeper set of counters and attacks, a much larger character roster, and noticeably more game modes to keep you busy. If you like arena-style fighting with plenty of variety, it is the fuller package.
Infinite World leans on mission-based progression, something the earlier games did not really offer. Those quests give the game structure and a reason to keep loading it up, even though the roster is smaller and the mechanics are less ambitious.
Choose Tenkaichi 3 for content volume and combat depth. Choose Infinite World if you would rather work through missions than master a large roster.