Ride-hailing giant Didi Chuxing plans to start using self-driving vehicles to pick up passengers in a district of Shanghai city and hopes to expand the scheme outside China by 2021.