Mordell-Weil group of an abelian fibered variety and its application to hyperkähler manifolds