A thermoelectric generator with a shape that no human designer would likely have imagined has now been created by a computer—and it performs more than eight times better than conventional designs.