Yeow!
I've seen 2 other 750s that did that. It was a long time ago, but the cause was common to many others that were knocked over in their respective garages (onto their left sides), when their shifter lever was pushed up toward 2nd gear (engine not running) and left there for more than 5 minutes or so. This bent the "L" shift fork(s) in those bikes far enough that the C2 gear's dogs were barely touching the C5 gear whenever the engine was in Neutral, 3rd, 4th or 5th. Then, if the bike was leaned over toward the kickstand side with the engine running it made clattering noises, or if the engine was cold, it could drop (temporarily) into 2nd gear. It would pop right back out, but it would also move the bike forward a couple of feet in the process.
It turned out there was a way to test for this without taking the engine apart. I found it on the 2nd one, and have used it since, many times. When the bike is on the centerstand (it MUST be level for this test), starting with the tranny in Neutral and the engine off, slowly turn the rear wheel while also slowly pushing the gearshifter toward 1st gear. When it clicks (more like 'clunks') into gear the rear wheel will lock. Note how far the lever had to move to engage 1st gear. Then go back to Neutral, and repeat this process while shifting the lever up toward 2nd gear. It should move the SAME DISTANCE to shift into either gear. If the "L" fork is bent in the usual way, it will engage 2nd with a much shorter 'throw' to the lever.
On the countershaft (the bottom gearshaft cluster in the engine) there is also a circlip in between 2 gears, near the middle of this shaft. This circlip has a rounded surface on one side and a ground-flat surface on the other. As experienced here by at least one of our members (Gammaflat) some years ago, this can be assembled backward: in his case, it came that way from Honda. If assembled backward, it can actually climb out of its groove on the countershaft, pushing the C5 gear toward the C2 gear and mimicking the same action as a bent shift fork while failing the 'test' outlined above (i.e., it seems like the "L" fork is bent, but acts much like it is not bent, having equal shifting distance-before-engagement for both gears 1 and 2). This one can best be detected on a warmed-up, running engine when the oil is thinner: leaning the bike toward the kickstand side causes the gear to shift over far enough to start clicking against the slots of the adjacent gear, and if the circlip has moved fully off its groove it can cause a momentary gear-dog engagement (which immediately bounces backward and disengages) which is known to be strong enough to take the bike off its sidestand, then disengage. We have a lengthy discussion about this one, somewhere in the archives, when it happened to Gammaflat. While I have never seen any Service Bulletin about this from Honda, I know it has happened to Suzukis and Kawasakis, especially their much-thrashed dirt bikes.