Twitter Inc said on Wednesday it has agreed to sell mobile ad company MoPub to AppLovin Corp for $1.05 billion in cash, as the microblogging platform looks to focus more on advertisements on its own app and website. MoPub, which generated about $188 million in annual revenue for Twitter last year, allows companies to keep…