How to safely connect USB to TTL (FTDI) adapter to device and also use bench power supply?
Yes, this should work. 

Tying the grounds together provides a common reference point for the UART Tx/Rx signals. Nice work! And no, you don't need to power the ESP8266 from the same source as the programmer.