The president had strong words against companies that obtain most of their revenue from licensing patents or filing patent litigation.