The spindle should not be grounded through the machine chassis!!
It should be grounded through the PE (4th) wire in the spindle power cable! Never connect a spindle without a PE wire!
Even if PE wire and cable shield are both connected to ground, they serve two different purposes. PE is crucial for electrical safety, and shield cannot replace the PE wire!