That was in a movie on Netflix recently:
Demfinger, A 007 Thriller. He was about to be cut in half by a California government agent's laser beam but then Newsom cut all the region's power off and he was saved.
Sequel is The Man With the Golden Socialist Tax Plan. Spoiler ending: 007 puts on the beard, cap and clothes of Lenin,pretends to be a Lenin mannequin and suddenly shoots the income resdistributing governor who is on the way to kill Bond with a 90% tax on the wealthy.
Pretty funny. Need an up vote button.