Take it a step further and nearly all our energy comes from nuclear fusion, with the exceptions you noted.
I use a gravitationally-confined fusion reactor, and pull power out of it by allowing the radiation to excite unbound electron-hole pairs in a semiconductor substrate. It's dangerous; even miles away from the reactor itself I can't expose myself to the radiation for too long or I get a painful skin reaction, and that might lead to cancer someday, but hey, it's cheap and quiet and I don't pay for the nuclear fuel!
Solar is actually fusion power, which is way cooler than any fission plant that puny humans have ever constructed.
Also IIUC "energy from the sun" is really shorthand for "Energy emitted by solar fusion", which tidal would not involve.
It's interesting to realize that the vast majority of the energy used by humans comes from the sun (with the exception of nuclear and geothermal energy). Even hydro power comes from the sun, because the sun evaporates the water which then becomes part of rivers or other water reservoirs that power hydroelectric generators.