Rishi Sunak has made nearly $1.2 million tax over the past three years thanks mostly to gains from his US investment fund, according to tax details that have been published.