US, China lead race for artificial intelligence patents: UN