It probably has nothing to do with getting the car back.
It’s probably to avoid lending the car to higher risk demographics.
It’s a test.
The rental car company basically loses fewer cars overall and thus has lower insurance premiums, and thus can offer cars cheaper than other rental companies that do not require a credit card (if any even still exist?) that have higher premiums to pay.