Tyres and motor oil both have a shelf life.
Motor oil often has a stated shelf life of about five years.
Tyres become brittle in time, the rubber becoming harder. The flexing of rubber, namely using the tyres, slows that process down. If they are used occaisionally the rubber may last about twice as long as if not.