Except that the soldiers' rifles in this scenario are highly complex requiring graduate level education to understand how they work and equally long training to get it to work right. Reminds me of those old science fiction novels by the likes of Robert A. Heinlein, not just buckaroo heroes but uber-smart good looking nerds on adventures.
“Most people think that all it takes is two hands and two feet and a stupid mind. Maybe so, for cannon fodder. Possibly that was all that Julius Caesar required. But a private soldier today is a specialist so highly skilled that he would rate ‘master’ in any other trade; we can’t afford stupid ones. " - Starship Troopers. Same analogy to today's interns/residents. They're not cannon fodder.
I've told my med students that their value is not being able to bag a patient with no PPE or draw blood (I don't think many of them know how anyways). Their value is in their education and training, all of which is moot if they get infected, die, pass it on to more people then they can "save." Will there come a point that we don't care who's at the other end of those vent dials? Possibly, but I'd rather save our future resource of doctors for now, for the next pandemic when they're trained and ready to treat me.