Select the Sauté function on the Instant Pot and add butter and olive oil.
Add sliced onions to the pot and cook, stirring occasionally, until deeply browned and caramelized, approximately 15-20 minutes.
Add minced garlic, thyme, salt, and pepper; sauté for 1 minute until fragrant.
Pour in the balsamic vinegar and beef broth, using a wooden spoon to scrape the bottom of the pot to remove all browned bits (deglaze).
Place the chicken breasts into the onion mixture in a single layer.
Secure the lid and set the steam release valve to the Sealing position.
Select Manual/Pressure Cook on High for 8 minutes.
When the cooking cycle is complete, allow the pressure to release naturally for 5 minutes, then perform a quick release.
Carefully open the lid. If a thicker sauce is desired, remove chicken and whisk in the cornstarch slurry using the Sauté function until thickened.
Return chicken to the pot, top each breast with a generous portion of Gruyere cheese, and close the lid for 2 minutes to allow the cheese to melt from residual heat.