Generalizations of Merton's Mutual Fund Theorem in Infinite-dimensional Financial Models