The director general of the World Health Organisation says COVID is nearly over and that countries must prepare for it to become endemic.