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