I had this same problem some years back. That was the time when the tape recorder-cum-player started not working and there was no one to repair it. The CD s era had started. But I had a good stock of audio cassettes, collected since s the 80 s. I did not want to throw them.
I enquired at a lot of places and at last I stuck upon the right product. I found a device PHILIPS CD SOUND MACHINE AZ1852. That device could play audio cassettes, audio CDs, USB, and FM radio.
There is a facility to copy the audio cassettes songs to USB.
So, though there was no direct transfer to CD, we can transfer to USB and then using computer etc we can record them in CDs.
Though the FM developed some problem , we are still using it to play the audio cassettes and the old audio CDs.
I think the appliance may still be available or its latest version may be available.
Please enquire with Philips dealers.