Here is the actual state of affairs.
Medicare Part A (hospital insurance) has a trust fund and a payroll tax.
For many years, the receipts from payroll taxes exceeded the benefits paid out. So, the trust fund was in surplus. The extra funds were spent on other government programs and special government bonds were created, but not the kind of bond that is bought and sold on Wall Street. They were basically IOUs the government wrote to itself.