Other important bass lines:
Beat It, by Michael Jackson
Higher Ground, by The Red Hot Chili Peppers (originally by Stevie Wonder)
YYZ, by Rush
Schindleria Primataurus, by Yes (ok, it's really 7 bass lines, but still. =) )
Mendellsohn's 4th symphony, 4th movement.
As for mirroring other instruments:
In most rock music, the bass is usually "pumping 1/8th notes" along with the root note of the chord. Most of the rest of the time, the bass is doubling the guitar line. Practically invisible (ok, inaudible).
In the blues genre, the bass has more of a mind of its own, it usually "walks" through arpeggios of whatever chord the guitar is playing.
In funk, the bass is even more independent, usually with it's own counterpoint, and "lead" fills. There is usually more "space" available in funk for a bass to fill, so it doesn't make the track sound cluttered.
In electronic music, the space delegated to bass may use low frequency effects in lieu of an actual "bass" line.
There. Bass 101. Have fun.