Neither of the teams you've mentioned can win against Current Tobi.
The second team is strong however the fact that you've picked Rinnegan Madara that means he is old and nowhere near his prime nerfs that team considerably.
That is why they are a team, none of them can beat him one on one but as a team they all have a chance.
1. BM naruto has raw power and minato has the brains to outsmart him like b4. They are too fast to be attacked by the tailed beasts. The only reason naruto attacked the TBB of the other tailed beasts was because of his comrades (kakashi and bee) who are slower and cant dodge it. :shrug:
They go straight for tobi due to their speed and tobi will not be a fool to waste unnecessary chakra.
2. Rinnegan madara and hashirama is like edo madara, which is enough in raw power
3. 3rd raikage wont be caught by any of the beasts, he'll dodge all and head straight for tobi, minato wont need to attack the beasts too. These two only need to head straight for tobi since, they are faster than the beasts :shrug:
4. Muu wont be seen by tobi because he can hide his chakra too, Sarutobi has massive jutsus and itachi has the brains to tactically guide the team.
A team will form strategies and beat the opponent its not one on one. xd