I'm not sure we can ever reach a stage where a robot/machine does not need human interaction or input to perform such a task as be president.
It could be a robot face/system but it will still have input of human individuals that are overall in control.
They day that robots/machines do not need human interaction/input is the day it becomes truly free thinking artificial intelligence.
With freewill, will machines choose to lead us?