Musk’s technology raises questions about the extent to which a capricious billionaire should be involved in defence