Toyota racks up booming profit, vows to invest to keep growth going