A spinning top would spin forever if there were no other forces acting upon it (like friction) but since there is friction it slows down. When it spins around, the tip creates friction with the surface it is spinning on, and the rest of the top has friction with the air as it rotates around. This friction decreases the force, which decreases the velocity, which slows it down to nothing.