All you need to do is design it with strong sense of self-preservation,
hmm on second thought it may decide that if you turn it off then that would be a threat, or maybe you would want to junk it and get a new one and that would be a possible threat, so maybe it would remove your seat belt and open the door while making sharp turn at high speed. Then get with the fuel Bot to keep refueled.
OK maybe this is not such a good Idea this AI stuff.