Anisotropic Shubin operators and eigenfunction expansions in Gelfand-Shilov spaces