The president closed out the campaign for Gov. Gavin Newsom as he fights to keep his job and Democrats in control of the Golden State.