Senegal won the Africa Cup of Nations final over Morocco after chaos erupted over a late VAR penalty, with FIFA condemning the walk-off and urging respect for officials.