Steps to recreate :
Place a minecart hopper on a rail
Break it in survival
Then, you will obtain a hopper (no problem at this point) and a minecart renamed (why?) "container.minecart".
Related issues
Attachments
Comments

[media]

Confirmed.

It's also right for minecart chests.