I wonder if Dancing Machine was initially regarded as just an album track on GIT, the last track on side 2.

Now which other massively famous Motown single started life as just the last track on side 2 of an album?