Heres a simple solution to fraud.
Apple sells official batteries to 3rd party retailers, with holograms, and maybe even an online lookup which tracks sales, etc. (you don’t need the latter but it’s an idea that would not be half as expensive as all the other “fraud prevention” measures Apple puts in which conveniently makes it far more difficult to repair Apple devices).
Seriously, the vast majority of fraud concerns would disappear if Apple sold official replacement parts.