Of course only going through the motions does nothing for power generation, but with a good teacher and an eye for detail, kata can be paramount for generating power. Good body mechanics are super important. Also all kata contain sink-rise/spit-swallow concepts that can really give a smart fighter the edge of bigger stronger fighters.