One of my players had a wizard who built a construct familiar and spent the whole campaign improving, achieving sentience, and befriending it.
In the campaign finale it volunteered to stay behind to manually detonate a "magic nuke" to be sure the arcane force that was tearing the world apart...