Malicious use of AI and nuclear conflict pose the biggest threat to human extinction by the year 2100, global experts have warned.