Major Wall Street analysts slashed price targets on Apple after the iPhone marker gave a sudden warning to investors, lowering its first-quarter revenue guidance on factors including China's weakening economy.

Jefferies and Macquarie each threw in the towel and downgraded the stock to a neutral rating from buy.

"Biggest miss in years," Jefferies said in a note to investors. "Apple's business in China appears to be rapidly deteriorating."

"The bottom line is that we are late (obviously), but we can no longer recommend Apple," Macquarie said.

Oppenheimer said Apple's announcement "raises more questions than answers."

"We remain solidly on the sideline as we continue to believe investors are not pricing in longer-term risks," Oppenheimer said.

Apple stock closed Thursday trading down 10 percent at $142.19 a share.

Here's what major Wall Street analysts were saying about Apple: