Elon Musk flew to China for President Trump’s state visit to the country despite being warned by a judge that he could be recalled for the ongoing OpenAI trial. The lawsuit filed by Musk alleges that OpenAI , which he co-founded, went against its mission by creating a for-profit arm. The X owner testified as part of the trial in Oakland, California, last month. Before Musk left the witness stand on April 30, U.S. District Judge Yvonne Gonzalez Rogers asked the parties involved if there was any reason to hold Musk in “recall status,” NBC News reported. OpenAI’s lawyers said, “Yes.” “Okay, Mr Musk, you are not excused, but you can leave for the day.” Rogers told Musk, who was not required to attend in person for the whole of the case. At the time, the dates of the president’s trip to China had not been confirmed.…