Immune checkpoint inhibitors, which treat a number of cancers by protecting the immune system so it can attack tumor cells, sometimes cause serious cardiovascular problems.