The president accused some insurance companies of trying to undermine his plans for overhauling health care.