Volodymyr Zelensky, who played a president on television, was elected in real life, defeating incumbent President Petro Poroshenko.