Ukrainas president Zelenskyj bad om ursäkt till Italiens premiärminister Giorgia Meloni efter en strejk mot en rysk korvett nära Libyen.