You are uploading to the Arduino, not the ESP.
You have to remove the Arduino processor (or keep it in reset) to mistreat it as an USB to TTL interface.
Then you could upload a sketch compiled for ESP8266 with its uploader (which is not avrdude IIRC).