The pilot who flew a small plane into Beijing's tallest building wrote in his diary about “ending his life”, Chinese authorities said Thursday, aiming to end speculation swirling around an incident that raised concerns about aviation security in China's capital.