Twitter shares have endured a remarkable rise and fall, shedding about half their value in only four months.