For the World Is Hollow and I Have Touched the Sky

The Enterprise must deflect an asteroid on a collision course with an inhabited planet...but discover the asteroid is a spaceship with a population unaware of the outside world.