Earth receives a visit from future selves with warnings of impending doom who want to plug us into a power grid and use us as living batteries even though they all do bad impressions of William Shatner and can be destroyed by a crowd of people with pitchforks and torches .