Localized Mechanical Actuation using pn Junctions