Venezuela's opposition leader Maria Corina Machado vowed a boycott of upcoming legislative and regional elections.