IBM was (inadvertantly) giving away the source to a few of its System/360
OSes in the 1960s ...

It was not inadvertent.  It was common practice to give access to the source since the money was in the hardware.  Gates showed otherwise.