Apple briefly overtakes Microsoft as world's most valuable company