Israel is set to pass a law that would regulate self-driving cars, giving them the same status as regular vehicles.