Optimal Synthesis and Application of a Si–Ti–Al Ternary Alloy as an Anode Material for Lithium-Ion Batteries