Pop star Kesha and producer Dr. Luke said they settled nearly a decade of suits and countersuits over her accusation that he drugged and raped her and his claim that she made it up and defamed him.