This graph has some scale issues; 5 days and 2 months look basically the same and the difference between 5 years and 7 years is also minimal. They would have been better off dropping the “World Wide Web” which doesn’t fit anyway since it isn’t an app and giving more space to everything else.
trademarks are good for 10 years and looking at some of twitters trademarks it seems the renewed them in 2019. So yes, in 2029, if X hasn’t reverted to being called twitter then their trademarks will be unprotected.