A proposed tax on the net worth of billionaires has divided California voters and prompted tech moguls to spend millions of dollars fighting the measure.