The president’s order comes after the company’s dispute with the Pentagon over artificial intelligence safety.