Most of the Macs and iPads that I've bought in my 20+ years with Apple have been refurbs. I still have a refurb 15" MBP from 2012 (that my daughter now uses since I transitioned to iPad). I've only bought one new iPad out of five.
They come with the same warranty as new, and you can get the same amount of AppleCare as a new one.
With iPads you even get a new outer case and battery.
Plus, you can put it through its paces for two weeks, and return it if you're not satisfied without having to provide a reason.
So comparing this to refurb cars is just not equivalent.