 A lot of similarities to The Water Engine; a made for TV movie  also written by David Mamet in which an inventor creates something  special which he is paranoid (rightfully so) about maintaining the  rights to (unsuccessfully, in both cases.)