DNT was introduced by Firefox, and Internet Explorer was the first browser from a major tech company that added support for it, so no, it wasn't "invented by Google and Facebook".
The only real problem with DNT is that there's no law requiring it to be respected. A solution to that problem is to pass such laws (which is exactly what this story is about!).