Hardwired Smoke Detectors, go with sealed battery units or unlocked with lithium 10 year batteries
Looking at the amazon reviews for the Kidde i9010, I do see a fair amount that say it didn't last the ten years.  I also see a comment from 2015 that says the battery configuration was changed from 3 to a single which is apparently more reliable.
For the $20-30 I'd risk going with the manufactured one.  The comments also seem to say that the support is good and free replacements have been sent out where it didn't last the ten years.  I'd hope that whatever the problem was that it has been fixed and they do last ten years.  Since it sounds like there was a problem with the smoke detectors meeting the ten year design it will likely be a while before the old stock is gone and bad reviews stop appearing.  I don't see any reviews newer than 2018 that comment on the battery life.