Apple did fight off the FBI over this issue not long ago. I'm not saying the war is over though... that was just one battle.
https://www.engadget.com/2017/11/08/apple-fbi-unlock-texas-s...
It’s unclear whether they’re committing to unlocking the device. Judging by the prior case, I’m not confident that they are?