SoftBank explored a potential takeover of U.S. chipmaker Marvell Technology earlier this year, people familiar with the matter said, in what would have been the semiconductor industry’s largest-ever deal.