This is quite an interesting question. If you think about it muscle is rather rubbery and behaves in the way you describe… it expands and contracts are electrical current is applied. We can make plastics (jelly like plastics) that do the same. You probably will be able to find a video by searching on Google. The plastics themselves are relatively simple though we can’t use plastics like polystyrene or polythene to do this.