Twitter is firing half its staff, which new owner Elon Musk blamed on a "massive drop in revenue".