Did the church invent the deity of Christ? The short answer is No. For the argument for that claim, see the excellent book Putting Jesus in His Place: The Case for the Deity of Christ.
They show that the Lord Jesus shares the the following 5 areas with the Lord God:
Honors
Attributes
Names
Deeds
Seat