Apologies do not let you off the hook for libel.
A well-stated public correction and apology though may reduce libel damages enough to make a lawsuit pointless. Traditionally, that was a major reason why newspapers published corrections and apologies.