Apple just announced its new iPhone 14—here's how much you'd have if you invested $1,000 a decade ago