Industry luminaries including Musk and Peter Thiel committed at least $1 billion to the nonprofit to build A.I. that could match or improve on the technology being developed by tech giants such as Google, Facebook Inc. and Microsoft.