AC Milan sack coach Massimiliano Allegri and senior management after failing to qualify for next season's Champions League.