But wait, what does a Stirling engine run on? Or a steam engine? You clearly can get some energy out of heat.
Also, objects that are hotter than absolute zero radiate infrared light — and you, in principle, could convert light, regardless of its spectrum, into electricity.
You can most certainly convert heat into something else. It's called the law of conservation of energy, not heat, which is just one form of energy.
E.g., if your machine relies on all energy in my room to spontaneously gather in my coffee mug to heat it up, while simultaneously cooling my warm room, this would be perfectly fine with conservation of energy and super useful. Unfortunately, it would also violate the 2nd law and it's thus something that doesn't happen in our universe.
That would be nice, wouldn't it. If you ever build a universe, you should definitely implement that. In this universe the laws of thermodynamics specifically forbid destroying heat, or converting it into something else.
Heat will naturally spread out evenly over time, but if we would prefer to do the opposite, moving heat where we want it (or away from where we don't want it), we need to use a heat pump which expends energy to do that, and that energy produces further waste heat which, yes, we also need to move. This is a core principle of how our universe works. Nobody is going to invent a new material that violates the laws of thermodynamics, for the same reason nobody is going to find an even integer that was hiding between 2 and 4 somehow without us noticing it.