Silicon Valley is working on defense contracts. Always has, always will [1]. The heat Luckey feels is due mostly to him being a Trump supporter. Trump is viewed as a threat to American democracy, so hopefully Luckey has reconsidered by now.
[1] The rise of defense tech is bringing Silicon Valley back to its roots
https://techcrunch.com/2022/02/05/the-rise-of-defense-tech-i...