It's not the same metaphor. The idea of a large number being "astronomical" comes from astronomy being the science that uses the largest numbers and units.
Oh, thank you. We have the same word in italian, and we can use it with this meaning. Sometimes I make the mistake to assume that meta-meanings apply cross language as well.