As a child sometime in the late seventies or very early eighties, I saw a sci-fi movie on TV - there was a scene in a greenhouse, either on a spaceship or space station - you could see stars out the windows, and they were growing apple trees there. A family was serving apple pie, and people were enthusing over it. The family explained that the apples came from Earth, before it was destroyed. This may have been the pilot for a failed TV show.
That resembles Silent Running (1972), with Bruce Dern.
I don't recall if there was a family and apple pie. Maybe there was early in the movie, but it has been many decades since I have seen it.