Apple surges past Microsoft to become the world's most valuable company