Basically, all the ticket revenue listed above gets pooled, then split up and given to each team after the playoffs based on how far each team made it. But, the losers of each playoff series only get to share in the part of the pool they made it to. Like the WC losing teams wont get to shre revenues from the Division Series and onward, and the division losers dont get to shre in League finals... etc. It's probably a pretty complicated formula
But to anwer your question, yes it would be better for every team for the Rays not to host anything since their attendance revenue is guaranteed to be less than everywhere else. But, the real incentive for the Jays having home field is so they win the damn series.
Also for reference, i posted above in 2021 what the BRaves got (32million+), Houston, the losers of the Worls Series ended up with $21,712,475. That's quite a gap from the winner to the loser. The wild card losing teams got 1.36 million each, Division series losers was 2.94 million, league Championship series losing teams got 10.9 million each.