Apple said Tuesday it would discontinue production of the last iPod model it still sells, effectively bringing an end to the iconic product line that helped usher in a new era for the music industry and the tech giant.