NASA’s Perseverance rover on Mars has completed the first drives on another world that were planned by artificial intelligence.