Mali came from behind to draw with Morocco in Group A of the 2025 Africa Cup of Nations in Rabat, which leaves the host nation on the brink of a place in the knockout stage.