The idea of stashing money in a Swiss bank account or some Caribbean island sounds a bit antiquated—the act of a 1960s James Bond villain. But the amount of wealth flooding into tax shelters around the world may in fact be rising to unprecedented levels.