A man who allegedly threw a Molotov cocktail at the home of OpenAI CEO Sam Altman has been charged with attempted murder.