Sell-off put Apple a hair's-breadth away from losing its status as the world's most valuable company. (Reuters)