Mechanical Characterization and Shape Optimization of Fascicle-Like 3D Skeletal Muscle Tissues Contracted with Electrical and Optical Stimuli.