Automatic toothpaste squeezing device