It’s impossible to put gas in a Tesla. The gas nozzle simply won’t fit in the charging port:
But even if you would pour gasoline on the charge port, it wouldn’t cause any problems because it doesn’t really do anything until a cable has been safely connected and locked. I would recommend cleaning the charge port before you start charging though.