That's not how you program an ESP8266. You need to do some research first, there are countless guides online that have the correct connections and explain how to set the boot mode for programming.
The program/firmware doesn't run if the processor boots in programming mode.
And on top of that, it won't respond to AT commands if you overwrite the AT firmware with an empty program.