OpenAI’s head of robotics has resigned, citing concerns over the company’s new contract with the U.S. Department of Defense to use its AI models and tools for military purposes.