Apple shares neared a record $400, a day after the world’s most valuable technology company posted blockbuster results and triggered a spate of brokerage upgrades. Apple’s climb brought the maker of the iPhone and iPad within shouting distance of Exxon Mobil’s market value of more than $400 billion despite the oil and gas producer raking in more than four times Apple’s annual revenue.