The US president voiced regret after the media mogul was convicted on all counts in a national security trial.