When I got my X in January this year, both fobs had been lying on the shelf for so long that their Batteries where drained within two months (end of February). Replaced the batteries in both fobs and the problem was gone.
Same happened to my with a new Audi in 2006 by the way, it‘s not a Tesla...