I wouldn't bet my money on hydrogen being the way of the future but I would bet my money on internet comments being wrong when it comes to predicting the future of heavy industry on a timeline longer than a couple quarters.
Batteries are getting better and look promising but all new tech does that until it hits a wall (then it generally progresses slowly until some development in a different field enables further development in the stalled field). What are the odds batteries hit a wall before they're viable in heavy trucks? I dunno but certainly not zero.