Multicompany has changed in Odoo 13. When products are created the company is set to blank. This means that they are shared across companies.
To change this behaviour and set the company the same way that it was in Odoo 12, we can use an Automated Action:
record['company_id'] = env.company
The same applies to Contacts, as explained here