Apple, Amazon.com and Netflix were among the top gainers as stocks rebounded Monday from multi-month lows hit Friday.