By Kevin Kelleher
FORTUNE -- In July 2012, the Presidential election was kicking into high gear, the Olympics were about to begin, and most people thought it was a matter of time before shares of Apple hit $1,000.
Google (GOOG), meanwhile, was just muddling along. After doubling during 2009, its stock had been treading water around $600 a share for three and a half years. Apple (AAPL), too was trading around $600 a share, but the iPhone 5 was coming and the company Steve Jobs built seemed to have the wind at its back.
Oh, how things have changed since then. Apple's stock has fallen 29% since mid-July. And Google? It's gained 46%, pushing past the $800 milestone while Apple languishes near $424 a share. Apple is tussling with investors over whether to pay more dividends, while Google rallies merrily on.
There has been a lot of discussion over Apple's decline in recent months, and comparatively less about Google's corresponding rise. But the difference in between the two boils down to this: Apple is increasingly seen as coming off one of the greatest runs in the history of Silicon Valley. And Google may just be at the start of one.
That is the new image of Google after two quarters of impressive earnings and more signs that the company is laying plans for long-term growth. "Looking at the consumer technology world over the next 10 to 20 years, we believe Google is far and away the best-positioned company," wrote Gene Munster, an influential tech analyst at Piper Jaffray.
Munster pointed not to search or other advertising, which still accounts for 87% of the company's revenue, but to new ventures that have yet to hit the market, like Google Glass and self-driving cars, which he called one of Google's "biggest opportunities in the next 10 years."
Compare that with Apple, which is seeing its share of the smartphone and tablet market erode over time as lower-margin, lower-cost Android rivals sell more products, and as Apple responds with its own lower-margin products like the iPad Mini.
Although Apple infamously holds its cards close to its vest, it's working on its own new products -- some that could create an entirely new category like the rumored iWatch. Apple is also taking time to create a new TV device. Such new products could offer Apple new areas of growth -- the iWatch alone could produce $6 billion in revenue -- and beef up the company's profit margins to levels that would impress investors again.
For now, however, sentiment is against Apple and strongly in favor of Google. This week, more analysts have joined the Google $1,000 club, citing other factors that could propel the stock higher in the coming year. Jeffries & Co. argued that a four-digit price is possible, given improvements in the Motorola handset business and non-search areas such as YouTube and commerce initiatives. Perhaps more encouraging, clickthrough rates on mobile ads are rising, Jeffries analyst Brian Pitz wrote.
How deserved is this reversal of fortune between Apple and Google's stocks? Perhaps not as much as the stock charts might suggest. For much of the three years when Google was trading around $600 a share, it was subject to speculation that, first, it couldn't thrive in the era of Facebook (FB), and then later uncertainty around the new CEO Larry Page. The effectiveness of Page's bold steps are only now becoming apparent to investors.
Apple, meanwhile, was riding a multi-year wave of bullishness and strong earnings growth that was driven by the iPhone and iPad. Those two products took years to conceive, design, and execute into the products we know. One thing that is certain about Apple -- it's not sitting quietly counting its pile of cash. It's trying to design new category-defining products. The real question is whether those products will resonate with consumers the way the iPad has.
In other words, there are real, fundamental changes going on at both of these companies, but the effects of those changes are greatly enhanced in the stock performance. Just as Google was underappreciated two years ago, so Apple could be today. Just as Apple was revered with blind bullishness then, so Google is at risk of being overvalued if it does reach $1,000 too quickly.
That doesn't mean Google is doomed or that Apple is set to rebound quickly. Both of these companies are going to have, at different times, their fallow periods as well as their blowout earnings reports. Both are going to keep working on projects that will offer growth for investors with a long-term focus.
But for now, consider that Google is trading at 18 times its expected earnings this year, double the ratio for Apple. That shouldn't surprise anyone, but it also suggests that the recent reversal of fortunes making financial headlines today are priced into both of these tech giants. What is much less certain is where they will both be in a year or so from now.
More from Fastest-Growing Companies
We're averaging the Q4 estimates of the six analysts with the best track records
The chart at right, which compares Apple's (AAPL) reported earnings for the past six quarters with estimates made in advance of those reports, shows that some analysts are better at predicting the company's results than others.
Specifically, a group of independent analysts we've been calling -- for lack of a better term -- "the bloggers," have consistently out-performed MOREPhilip Elmer-DeWitt - Oct 17, 2011 7:11 AM ET
A window into the concerns of the institutions that control 71% of the company's shares
As you may have noticed, Apple's (AAPL) shares have gone nowhere this year -- and nowhere but down for the past week -- despite earnings the grew 92% year over year last quarter and show no signs of slowing this quarter.
Whatever is going on with the stock price probably has something to do with the fund MOREPhilip Elmer-DeWitt - May 16, 2011 11:22 AM ET
If you're looking for evidence of manipulation, Friday's close was picture-perfect
"The easiest way to think of options," wrote The Market Skeptics's Eric deCarbonnel in a prescient 2009 post, "is as a type of insurance. Investors pay a premium to protect themselves against sharp swings in the market. If these sharp swings don't happen, those selling options (option market makers) keep the premiums as profit."
"In a legitimate free market," he continues, "every MOREPhilip Elmer-DeWitt - May 15, 2011 9:32 AM ET
Ahead of Apple's earnings, the numbers tell it all: If shares don't soar after its quarterly report, it will likely trade at valuation levels not seen since the depths of the financial crisis, making it the cheapest large-cap tech stock.
By Andy M. Zaky, contributor
FORTUNE -- As Apple prepares to report its fiscal second quarter results after the bell on Wednesday, a huge question on investors' minds is whether or not MOREApr 19, 2011 10:39 AM ET
As of Monday morning the stock was officially down for 2011
Explain this, if you would.
Two days before Apple (AAPL) was expected to report record earnings -- with customers snapping up iPhones faster than it can make them and others still camping out overnight to buy the latest iPad -- the world's most valuable technology company on Monday was down more than $7 (2.2%) in early morning trading.
It would be one MOREPhilip Elmer-DeWitt - Apr 18, 2011 10:33 AM ET
Fortune's final poll of Apple analysts -- professional and amateur
Here are the final estimates -- barring last-minute revisions -- along with each analyst's rank, where available, in last quarter's earnings smackdown. [UPDATED 4/18 to correct error in Sterne Agee's estimates, 4/19 with new numbers from Turley Muller, Rodman & Renshaw and BCG Partners, and 4/20 with estimates from Bernstein and Technology Insights.]
We'll find out whose numbers were closest to the MOREPhilip Elmer-DeWitt - Apr 18, 2011 7:05 AM ET
With Q2 earnings due next week, the two groups of analysts are once again miles apart
The amateur analysts who follow Apple (AAPL) can afford to be more bullish than the professionals who do it for banks and brokerage houses. After all, unlike the sell-side analysts who are telling investors to buy the stock, they don't have clients who will be angry if the company doesn't exceed expectations.
But with Apple set MOREPhilip Elmer-DeWitt - Apr 14, 2011 11:08 AM ET
Analysts' estimates range from nearly 20 million to less than 13.25 million
Apple's second fiscal quarter, which ended March 26, was a tricky one for analysts trying to figure out how many iPhones the company sold.
Sales of cell phones and other electronic gadgets usually fall off after the holidays. But on February 10, smack in the middle of the quarter, Apple (AAPL) launched the iPhone for Verizon (VZ), which should have MOREPhilip Elmer-DeWitt - Apr 7, 2011 12:05 PM ET
There's something fishy about the trading two days before NASDAQ released the news
The gap in the blue line on April 5 in the chart at right reflects the $4.2 (1.2%) traders knocked off Apple's share price at the opening bell Tuesday -- the first opportunity money managers had to rebalance their portfolios after NASDAQ announced in the middle of the night that it was reducing Apple's weight in the MOREPhilip Elmer-DeWitt - Apr 6, 2011 7:53 AM ET
|Water becoming more valuable than gold|
|What stumps Warren Buffett? Minimum wage|
|Will 7 Apples a day keep the bears away? - The Buzz|
|GM's $1.3 billion recall cost wipes out profit|
|Apple's stock split makes the math easier; new all-time high is $100|