The 2nd example also loosely falls under the classification of malaphor.
https://en.m.wiktionary.org/wiki/malaphor