Not sure about the sexual harassment angle you're pushing... it's about trust isn't it? If you have consensual affairs as a CEO, you are still liable to be fired if it becomes public, that's my opinion anyway.
It doesn't matter, he was in a position of extreme power imbalance where he could show her both favoritism or fire her depending on how things went. It's improper and inappropriate at best, and illegal at worst.