The contemporary of the Apple II and TRS-80 was the Commodore PET. The C64 came much later.
https://en.wikipedia.org/wiki/Home_computer#Notable_home_com...
EDIT: I owned a Commodore 64 and a TRS-80 in the eighties, and used an Apple IIe at school. These were all programmable in Basic, and although the C64 was clearly the most powerful, they were all similar in power compared to, say, an Amiga.