Apple's arrangement allowed them to eventually come back around and start competing with Microsoft. (If you don't think so, look at the popularity of Webkit on phones and within Google.) I don't think Yahoo!'s arrangement will help them do that. I've got to ask, who's Yahoo!'s enemy? SmugMug? I agree with 37signals and Jeff Atwood that it's a good idea to have one. If you're going to expand, who's market share are you going to take?
http://gettingreal.37signals.com/ch02_Have_an_Enemy.php
The nice thing about the Apple-Microsoft deal is that everyone still knew that Microsoft was Apple's enemy.