I wouldn't need to invent anything since I've helped my (occasional) job at a software startup patent a couple of things already. If I got a million dollars, I would just invest it in stuff we already invented and hire everybody who we wanted to have but still can't afford for our projects