Planet-eating stars: How dying suns swallow their worlds — and the future that eventually awaits Earth