Democrat Xavier Becerra will be California’s next governor, the Associated Press projected immediately after polls closed in the Golden State.