Venezuela opposition leader Maria Corina Machado was arrested after appearing in public for the first time in months.