Apple’s $100 million titanium purchase agreement and advances in 3D printing offer fresh context for rumors that the 20th-anniversary iPhone could bring the metal back to its flagship smartphone lineup.