Retailer JC Penney has adopted a so-called "poison pill" rights plan designed to ward off unwanted acquisition bids from two investment companies.