Microsoft briefly tops Apple as most valuable company