Those salaries are a reflection of us winning 9 consecutive scudetti and trying to challenge for the CL compared to Milan being shit for 10 years.
If Milan continue to win the scudetto and become a CL challenger then their players either sign improved deals for more money, which has a knock-on effect for the other existing and future players in the squad, or they will get sold to richer teams.