Cells differ in their shape and size due to kind of the function they perform.
But some cells can change their shape like :
1. Unicellular organisms - Amoeba
2. White blood cells in Humans .
Reasons:
Amoeba changes its shape to perform locomotion.
WBC's changes its shape to reach out the infected cells and fight against infections