In recent years , Mr. Chavez has nationalized firms in many sectors , including petroleum , communications , electricity , banking and agriculture .