Tech and media giants are jockeying for position in the battle over Yahoo, as News Corp. and Microsoft ponder a potential partnership against a Yahoo-AOL alignment.