I wouldn't be surprised if the urban legend had been inspired by Feynman's famous anecdote of the mouse maze-running experiment [0] (recently discussed here, the link is also by the author of this post)
(edit: the earliest refs for the tank story predate Feynman's, so this would be wrong)