Alloying Reaction Confinement Enables High-Capacity and Stable Anodes for Lithium-Ion Batteries.