A contract until 2028 sounds quite excessive and it seems like Milan wants to make him like Giroud who stayed at the club until his old age. The cost is also not that expensive considering what he has won and the most important thing of all is his experience and maturity in the opponent's defense area. It looks like Alvaro Morata's position will still be a striker but will be accompanied by Pulisic and Leao as wingers so this is a trio to be reckoned with.
He is 31 years old now and AC Milan gave Alvaro Morata a fairly long contract, so it is clear that AC Milan wants to maximize this player's abilities and experience to help AC Milan achieve achievements. However, I hope AC Milan doesn't forget that they also need regeneration, which means they have to use the time available to look for young players, at least to act as cover and slowly provide playing time.