It turns out that the aliens are NBC executive Herb Goodman, played by Elliott Gould, and his associate Curtis, played by Garrett Morris.
Other NBC executives and staff show up and dismantle the Enterprise set.