Apples and potatoes are both something people will need to eat if we want to see it from the human utility perspective, and they both require some land space to be allocated for their culture (though one can of course conjugate both culture).
If you want to take the DDG LLM summary at fate value, apples are lower in calories and sugar but higher in fiber compared to potatoes, which are richer in vitamins and minerals like potassium and vitamin B6. Overall, apples provide more dietary fiber, while potatoes offer more protein and essential nutrients.
Comparison rarely lead to one obvious all superior option that discard every other considerations.
the saying "comparing x and y" implies that you compare something that one of them can't compete ; if people praise the softness of the skin first and foremost, comparing apples and potatoes won't lead interesting results