Under pressure from investors, Travis Kalanick has resigned as CEO of Uber.