I just had one where it was claimed that the GFCI was bad, I recommended replacing it, but informed them that the real culprit was the user connecting the toaster and the countertop Microwave into the same outlet. The breaker in the panelboard was tripping not the GFCI though the GFCI had minor overheating marks. I think GFCI's and properly sized breakers are great items.
On the other hand, I have yet to come across an AFCI that will work in systems that auto switch to generators (twice daily at one site) without tripping a reported 50% of the time. I have brought this to manufacturers, but they consider it a non-issue, just go and reset. I know that after I left at the twice daily, generator site, the AFCI's (second set, newer style) were thrown away and regular breakers installed. GFCI breakers would have been better behind my back.
I have also seen AFCI's in others new construction, have major issues. Too bad they were out of my jurisdiction, and I could not force a repair for the renter. Note that both of the circuits were also GFCI protected and the GFCI had no issues with the fridge and the washer. I really expect the issue in a skinned or pierced cables or issues in the outlet box. AFCI's tend to work pretty good now also.