Ah, I remember those (and used to have them). They were the Commandrons, which was a four-week promo at McD's back around '85 or '86, I believe. There were four different toys, with a different one offered each week ("while supplies last", of course).
While they weren't official Transformers-branded toy, hey, transforming robot toys were pretty much
everywhere in the mid-'80s.