Set up an offshore that owns the IP and pay a licensing fee to the offshore? Licensing costs would then reduce net profits and likely also taxes, right?
Plus, over that longer time you can list a lot of dual-use purchases as untaxed business expenses.