A transistor will not generate current, you need a dynamo or alternator:).
The current gain of transistors is variable over a wide range. You should not use a circuit which depends on it.
To drop 9V to 5V, use a 7805 regulator which can manage up to 1A and may need a heat sink. Do not forget...