Deformations of polarizable fluids subject to stationary electromagnetic fields