SAN FRANCISCO (Reuters) - Apple Inc's quarterly profit blew past Wall Street forecasts thanks to strong sales of Macs and iPhones and higher-than-expected gross margins, boosting its shares 4 percent on Tuesday.