Yeah in just about every end of the world movie they never touch on this. Its like all the starships just have normal gravity.
They did in the show Last Man on Earth. They sailed off from the US when they realized it was going to be a problem.