A regular TensorFlow installation, just the Python library, is an 184 MB wheel that unpacks to about 1.2 GB of stuff. I have no clue what mess goes in there, but it's a lot.
Still, if you're right that this package seems to take 18 GB disk size, something weird is going on.