US firm gets $2.9bn sub deal after boss joins war study with Musk Anduril said it would invest $3.7bn to develop shipyard that would build submarine parts.