The United Arab Emirates has given Chinese autonomous driving company WeRide the first national license for self-driving vehicles.