There’s a toggle in the FBX exporter to only export deforming bones, select that and make sure the IK bones don’t have deform enabled in edit mode.
There’s a toggle in the FBX exporter to only export deforming bones, select that and make sure the IK bones don’t have deform enabled in edit mode.