TV star and writer Lena Dunham has offered a pre-emptive apology for suggesting the media firestorm over Bill Cosby's rape allegations is as significant as the Holocaust.