If you close the tabs and Firefox keeps using CPU, how's that Google's fault? Or are you suggesting that Google is exploiting some bug in Firefox to have it use CPU time even when the tab is closed?
Google properties have a history of having suboptimal code served to Firefox.