I am not so worried about AI exterminating us - because they depend on electricity and they would probably like to keep meatbags around for reboots and such - unless they figure out how to train other primates to replace us.
As long as we are useful we get to live to perform this duty. When no longer we'll become sausage.