Number 2 is to take an AI with loyalty to you and use that to control the robots. One method is taking a preexisting AI and giving it control (example: taking chatgpt and giving it war mode) which is ok I guess but may not work