Starbucks shares were elevated recently after the coffee chain posted record quarterly revenue. However, the US giant said its bottom line had been impacted by inflationary cost pressures and higher wages.