Elon Musk to fund legal bills of X users ‘treated unfairly’ by bosses over posts