Exxon replaces Apple as most valued company