ESP32 BMI160 Overheating/Melting

We do need to know exactly how your circuit is connected.

we also need to know exactly what parts you are using - so eg is this the BMI160? (post links - like this)

All which chips? And what is the power supply (again, a link)