In a last-minute effort to thwart the merger of CBS Inc. and QVC Inc., a minority shareholder in QVC stunned the entertainment industry late Tuesday by announcing an uninvited bid to take over QVC.