Both options carry the same risk for mechanical: newer IITs are still building industry ties for core branches. At Dharwad, a student praises the mechanical department, saying professors come from IIT Bombay, the mentor institute, that labs were being planned for each subject, and that the syllabus is slightly harder than Bombay's. Another student chose Dharwad mechanical over a strong private college CSE seat and was happy with it.
On placements, a student who checked official data for the 2022 batch described mechanical at Dharwad as disappointing and advised avoiding it if you have better options. For Tirupati, similar advice appeared: a student said that in the early batches civil, mechanical and chemical weren't recommended, while CSE and electrical looked better. Elsewhere, another reply says Tirupati is the best third-generation IIT.
So there's no clear winner on placements. Compare the latest branch-wise reports, check which campus is further along in building labs, and think about location, since Dharwad is a quieter town and Tirupati is a pilgrimage and regional hub.
If your plan is MS abroad or government jobs, either is fine. If you want a core industry job, think harder about an older IIT or NIT mechanical seat.
Both these colleges have their own pros and cons.
Here are some important points for you to consider-
Based on these points, I would suggest you choose IIT Tirupati over IIT Dharwad. But you should first consult some seniors from the Mechanical department of both these colleges to know about the academics and faculty at each.