Shares of Apple rose more than 4% Thursday amid optimism on Wall Street that the maker of consumer favorites such as the iPod media player and iPhone can weather economic troubles.