Musk plans to cut up to half of Twitter workforce