Realistically at Google I'd probably be an L5 or L6 software engineer so let's say I'd make somewhere around 400k USD. Working from home in Spain I make 80k euros and I cost the company around 92k euros with taxes, so let's round it up and say I cost to the company 100k USD per year.
I'm not 4 times less productive for working in a small town in the middle of nowhere in Spain, so even if I'm not in my peak productivity I'd say the company gets more for their money.
Becoming a regular smoker is often a hunt for something that can get you just as high as the first time, but nothing will. (Concentrates can get you very high, though.)
With that said, I want to lower my usage -- and, admittedly, it has been hard. Especially if there's hardly anything disincentivizing me from not feeling good all the time. I also have ADHD and take Adderall every day, so it's a part of a routine that has a designated dopamine hit a least once every 1.5hrs, whether that be coffee, weed, whatever.