FBI investigating California attack as act of terrorism