As I understand it, the Trek episode did not start out as adaptation of the Brown story. It started out as an original script but, at some point, somebody remembered the story and realized that their upcoming ep was uncomfortably similar in concept. So, just to play fair and avoid trouble, they threw some money at…