The "addiction" is perhaps partly a symptom of boredom or depression. Social and physical activities often help with that. Can you put some such activities into your timetable, for example by joining a sports club?
Perhaps try reading a paper book at bed time.
A separate device for news and social media might help, depending on your circumstances. ("In the old days, writers used to sit in front of a typewriter and stare out of the window. Nowadays, because of the marvels of convergent technology, the thing you type on and the window you stare out of are now the same thing." -- Douglas Adams)
The first step is to be conscious of it so you're on the right track. You could try to set time limits on these apps from your phone settings and reduce the time allowed week by week until you feel comfortable with your usage. You could even block them on your router. It's similar to other addictions, you'll have some withdrawal symptoms for a while but once you're through you won't look back.
But I think deep down the issue is that you don't have something meaningful to do with your time, something that you really, deeply value doing over mindless browsing. It kind of reminds me of Freund's death drive [1] (in a sense of being attracted to passivity / mindless consumption). You should probably try to find new activities, be it sports, associations, art, or even other more mindful media consumption.
Also, cut down on screen time before bed, it impacts sleep quality, which impacts energy levels, and from there it's a negative self reinforcing loop.
[1] https://en.wikipedia.org/wiki/Death_drive