If you think other players who would be competitive would have better security and code quality, you're mistaken. Shipping culture in hardware requires deadlines be met and that requires taking shortcuts, often in software. Unless the incentive structure changes all players will end up with similar results.