I wish The Matrix had humans in virtual reality cages because the AI had a mandate to keep them alive and well, and this was simply the most efficient mechanism for doing this. This would have made the resistance far more ambiguous as they would actually be fighting for freedom but against the well-being of humanity.