When there is no Greece, a military Citystate might gift their unique units if you ally them. Next time, hover your mouse over the place it says militaristic in the CS info screen and it will show you what unique unit it can grant.
They only grant units from Civs that are not in the game. So always check to see if a CS has some good ones, like Jannisaries or such.