Since the Stewie's time machine was blown up during the events of "Road to Germany", he must have built another identical time machine since that episode.
(On finding out da Vinci is Stewie's ancestor)
Brian: So, that means you're Italian.
Stewie: Of course! My love for Spaghetti-O's and smoking on the toilet. It all makes sense.