The company posted record quarterly revenue of $12.2 billion but stock slipped after results fell short of some investor expectations