Of course it is very difficult to compare for entirely new product categories, though the good news is that brand new products likely are not a large portion of the consumption basket at the time they are introduced. So it shouldn't make that much of a difference. Otherwise, you are comparing each year to the next in a sort of "family resemblances" kind of way - maybe you can't directly compare a smartphone to something in the 1950s, but you can do incremental comparisons along the way.
[1] https://www.bls.gov/cpi/quality-adjustment/questions-and-ans...