We have done it before, however it just seems this was started on the basis of iffy logic and the OP stuck to it without considering other aspects (some did try, though not necessarily state and explain).
It seems to be accepted in the law (in the US it presumably falls under first sale doctrine and though software can be interesting for some of that it is enough we have massive websites, massive retail chains, the general public and more engaged in it and operating without the slightest hassle), it is a known and otherwise well established condition when the devs release the work (it is not like it was suddenly invented and someone now risks losing their shirt) and there seems to be widespread acceptance of the concept in various other fields too, including IP driven ones like books. With that in place it would seem the devs are losing nothing because they were never legally entitled to anything and there are no similar fields where devs get a cut -- if they want a cut then provide the service or buy shares in someone that does. I would agree cars might not be the best comparison as they still have parts, servicing and after sales/after market to tap, and they love trying to freeze third party vendors and fixers out. Some might argue games do not wear out like some other things but at the same time I have 100 year old books that read just fine.
Perhaps it could be asked what might happen if things were changed such that second hand sales were not allowed. We already have an interesting example from downloadable games where that is mostly the case, much to my annoyance and is the entire reason I do not have Steam and co. However it does seem to change how prices play out, though at the same time with unlimited volumes of said game being out there that potentially limits the usefulness of the data -- before the rise of the internet then if all I had was the local paper, car boot sales, game shops and more I would often have to hope something got a "classics" reprint. More interestingly it seems to be conditioning people to wait a year for the GOTY versions with all the DLC and bugfixes as they are guaranteed to be able to pick it up.
There might be scope to discuss some of the policies that some of the big game and similar vendors seem to go in for.
Equally I have found the rise of the mindset espoused by the OP to be odd. I saw it tried many years ago and laughed and dismissed it thinking it would never catch on in the slightest. I was wrong it seems. I also find the things some devs tried to do with the online codes and DLC that would not go with it to be horribly distasteful.