Japan vows to spend even as profits plunge