From models of galaxies to atoms, simple AI shortcuts speed up simulations by billions of times