Automatic tube filling and sealing machine