While technology giants burn through hundreds of billions building artificial intelligence infrastructure, Apple is quietly placing a different bet.