Facebook Inc. and other internet giants stripped Donald Trump of his social media megaphone after his online posts encouraged violent rioters that stormed the U.S. Capitol, an unprecedented move that will leave the president without one of his favorite and most volatile powers in his final days in office.