Tim Cook became CEO of Apple 10 years ago. Here's how much money you'd have if you invested $1,000 in the tech giant the day he took over