Apple wasn't ruled not a monopoly. It was ruled that the evidence Epic brought in the case was insufficient to show Apple was a monopoly, and the court would entertain other arguments in the future.
Apple didn't need to do anything, but they didn't "win" that convincingly.