iPhones did replace tape decks. The mini hi-fi in my living room, my car stereo, my tape and CD walkman, all are now either bluetooth recievers for smartphones or play audio directly from the smartphone.
The function wasn't "playing tape" or "playing CD", it was playing music or audio books.