More of a stopgap measure until an ownership system can be put in place, a “Don’t loot” dialog menu option would prevent companions from A) stealing all your shit, and B) filling up all their inventory with useless crap so they don’t have any room for important things like meds, bandages, ammo, etc.