SAN FRANCISCO (Reuters) - Apple Inc shares flirted with a record $400 on Wednesday, a day after the world's most valuable technology company posted blockbuster results and triggered a spate of brokerage upgrades.