What about this then?
A thermopile will produce electricity without any moving parts. But you'd struggle to make one big enough to power a city.