Elastic wave energy‐trapping and its application to piezoelectric devices