Many of the country’s richest people, including Elon Musk and Larry Ellison, borrow against their stock while avoiding capital gains taxes.