Thats exactly what happened when my partner had her shower replaced (by a Corgi engineer who owned the property). He put in a higher rated shower but didnt check the cabling which started to melt.
We tried loads of things thinking it was a leak on the bath but it turned out to be underrated...