A proof of the endoscopic fundamental lemma for spherical Hecke algebras using a new comprehensive framework of multiplicative Hitchin fibrations