A Twitter data scientist who was all set to resign reportedly told off CEO Elon Musk as revealed in a new book about Musk and Twitter.