A man who was shot dead by armed police outside a train station near Oxfordshire was carrying a knife.