Apple surpasses Exxon to become most valuable US firm