The match against Madrid isn't one I think Madrid did take serious nd shouldn't be considered like one which AC Milan was actually superior to Madrid is and talking about Madrid's strong and firm squad, they weren't all present in that game, he only used a few of them and not the actual complete squad which he has selected to play this season (I mean his first 11). With Manchester city I believe similar thing did happened too because in that game Manchester city was seen with minimal dominance and that was really unlike them, the preseason games aren't one that should be taken seriously as the main strength of the trans will be seen when the season begins.
Fonseca also did not put out the optimal lineup for these games, and just like Ancelotti and Guardiola made many substitutions during the game, so it is difficult for me to say that he was more striving to win these matches, but I like the way Milan plays in friendly matches.
I would even say that they are not at all ambitious to win this pre-season match, because they will focus more on where they still have weaknesses and they will measure how good the depth of their squad is. A team should have this kind of mindset during the pre-season match, because if they are too ambitious to win, then I think the purpose of the pre-season will not be felt because they put it aside. It is better not to win but they can fix it, than they win but they do nothing. This is something I often see in pre-season matches, where a team can perform well in the pre-season but when entering the real season they can't do anything. On the other hand, there are also teams that only lose in the pre-season but they can give something extraordinary in the official competition. So the pre-season cannot be used as a benchmark for a team regarding their performance in the competition.