Peertube does P2P for both static videos and livestreams: https://docs.joinpeertube.org/
But the reality is for 99% of people Youtube and Twitch work just fine.
Plus most residential ISPs have really poor upload speed, and very restrictive data caps.