Sony owned the QD IP and either gave or loaned them back to QD for the PC versions. I honestly don't care enough to check which of the two it was, but that was an IP exchange.
QD owns Heavy Rain because its development started before Sony was ever involved (same goes for SB), but they own Beyond and Detroit.